public TerrainChunkNode(PhysicsWorld physicsWorld, TerrainComponent parentT, int x, int z, Vector3f scale, int chunkSize, TerrainChunkNode[] neighbors) : base("TerrainChunkNode")
 {
     this.physicsWorld = physicsWorld;
     this.x            = x;
     this.z            = z;
     this.neighbors    = neighbors;
     this.scale        = scale;
     this.chunkSize    = chunkSize;
     this.parentT      = parentT;
 }
 public TerrainChunkNode(PhysicsWorld physicsWorld, TerrainComponent parentT, int x, int z, Vector3f scale, int chunkSize, TerrainChunkNode[] neighbors)
     : base("TerrainChunkNode")
 {
     this.physicsWorld = physicsWorld;
     this.x = x;
     this.z = z;
     this.neighbors = neighbors;
     this.scale = scale;
     this.chunkSize = chunkSize;
     this.parentT = parentT;
 }
Esempio n. 3
0
 public HeightInfo(TerrainComponent component, Vector2f pos, TerrainChunkNode chunk)
 {
     this.position = pos;
     this.chunk = chunk;
     this.component = component;
 }
Esempio n. 4
0
 public HeightInfo(TerrainComponent component, Vector2f pos, TerrainChunkNode chunk)
 {
     this.position  = pos;
     this.chunk     = chunk;
     this.component = component;
 }
Esempio n. 5
0
 public abstract TerrainChunkNode CreateNewChunk(PhysicsWorld physicsWorld, TerrainComponent parentT, int x, int z, Vector3f scale, int chunkSize, TerrainChunkNode[] neighbors);
 public abstract TerrainChunkNode CreateNewChunk(PhysicsWorld physicsWorld, TerrainComponent parentT, int x, int z, Vector3f scale, int chunkSize, TerrainChunkNode[] neighbors);