mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 18:44:00 +02:00
move the voxel tree back to origin
This commit is contained in:
parent
eec16a8eb5
commit
f109916125
2 changed files with 1 additions and 2 deletions
|
@ -219,7 +219,6 @@ void VoxelSystem::render() {
|
|||
|
||||
// draw the number of voxels we have
|
||||
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, vboIndicesID);
|
||||
glTranslatef(40, 0, 40);
|
||||
glScalef(10, 10, 10);
|
||||
glDrawElements(GL_TRIANGLES, 36 * voxelsRendered, GL_UNSIGNED_INT, 0);
|
||||
|
||||
|
|
|
@ -122,7 +122,7 @@ void *distributeVoxelsToListeners(void *args) {
|
|||
unsigned char *voxelPacket = new unsigned char[MAX_VOXEL_PACKET_SIZE];
|
||||
unsigned char *voxelPacketEnd;
|
||||
|
||||
float treeRoot[3] = {-40, 0, -40};
|
||||
float treeRoot[3] = {0, 0, 0};
|
||||
|
||||
while (true) {
|
||||
gettimeofday(&lastSendTime, NULL);
|
||||
|
|
Loading…
Reference in a new issue