This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foreign.Java | |
import Data.Maybe | |
import Foreign.Java.Bindings.Support | |
import Data.Int | |
import Data.Word |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
class Example | |
{ | |
public static void Main() | |
{ | |
// Create a new hash table. | |
// | |
Hashtable openWith = new Hashtable(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Всем неподвижным объектам делаем свойство Static | |
2. Всем моделям в которых не используется анимация отменяем импорт анимации | |
3. Группы объектов позиционируем в коорд. (0,0,0). | |
4. Если необходимо смаштабировать | |
а) не пропорционально - делаем это в 3D редакторе, так как масштабы типа (1, 1.1, 2.5) создают дополнительный Draw Call | |
б) пропорционально - меняем масштаб в панели импорта модели. | |
5. По возможности все объекты держать а сцене в качестве префабов, кроме групп объектов(контейнеров) | |
6. Не делать из группы префабов новый префаб, так как связь элементов группы потеряется. | |
7. Проверять какие объекты должны отбрасывать/отражать тени, какие нет, так как по умолч. параметры Cast Shadows и Receive Shadows включенны. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const int primes[] = {2, | |
3, | |
5, | |
7, | |
11, | |
13, | |
17, | |
19, | |
23, | |
29, |
NewerOlder