mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 21:43:13 +02:00
some space removals in Interface main.cpp
This commit is contained in:
parent
626ae1c779
commit
7abe5024d9
1 changed files with 0 additions and 6 deletions
|
@ -205,7 +205,6 @@ double elapsedTime;
|
||||||
timeval applicationStartupTime;
|
timeval applicationStartupTime;
|
||||||
bool justStarted = true;
|
bool justStarted = true;
|
||||||
|
|
||||||
|
|
||||||
// Every second, check the frame rates and other stuff
|
// Every second, check the frame rates and other stuff
|
||||||
void Timer(int extra) {
|
void Timer(int extra) {
|
||||||
gettimeofday(&timerEnd, NULL);
|
gettimeofday(&timerEnd, NULL);
|
||||||
|
@ -369,9 +368,7 @@ void sendVoxelEditMessage(PACKET_HEADER header, VoxelDetail& detail) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
|
||||||
// Using gyro data, update both view frustum and avatar head position
|
// Using gyro data, update both view frustum and avatar head position
|
||||||
//
|
|
||||||
void updateAvatar(float deltaTime) {
|
void updateAvatar(float deltaTime) {
|
||||||
|
|
||||||
// Update my avatar's head position from gyros
|
// Update my avatar's head position from gyros
|
||||||
|
@ -1200,8 +1197,6 @@ int setRenderAvatars(int state) {
|
||||||
return setValue(state, &::renderAvatarsOn);
|
return setValue(state, &::renderAvatarsOn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
int setOculus(int state) {
|
int setOculus(int state) {
|
||||||
bool wasOn = ::oculusOn;
|
bool wasOn = ::oculusOn;
|
||||||
int value = setValue(state, &::oculusOn);
|
int value = setValue(state, &::oculusOn);
|
||||||
|
@ -1824,7 +1819,6 @@ void idle(void) {
|
||||||
glutPostRedisplay();
|
glutPostRedisplay();
|
||||||
lastTimeIdle = check;
|
lastTimeIdle = check;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void reshape(int width, int height) {
|
void reshape(int width, int height) {
|
||||||
|
|
Loading…
Reference in a new issue