mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 14:08:51 +02:00
changes case/naming to agreed conventions
This commit is contained in:
parent
bdf358b0fb
commit
8f458b0bea
1 changed files with 6 additions and 6 deletions
|
@ -102,8 +102,8 @@ Head myHead; // The rendered head of oneself
|
||||||
FieldOfView fov;
|
FieldOfView fov;
|
||||||
|
|
||||||
Stars stars;
|
Stars stars;
|
||||||
int stars_tiles = 20;
|
int starsTiles = 20;
|
||||||
double stars_lod = 1.0;
|
double starsLod = 1.0;
|
||||||
|
|
||||||
glm::vec3 box(WORLD_SIZE,WORLD_SIZE,WORLD_SIZE);
|
glm::vec3 box(WORLD_SIZE,WORLD_SIZE,WORLD_SIZE);
|
||||||
ParticleSystem balls(0,
|
ParticleSystem balls(0,
|
||||||
|
@ -773,10 +773,10 @@ void key(unsigned char k, int x, int y)
|
||||||
// >> tosh (for testing starfield)
|
// >> tosh (for testing starfield)
|
||||||
if (k == 't') render_pitch_rate += KEYBOARD_PITCH_RATE;
|
if (k == 't') render_pitch_rate += KEYBOARD_PITCH_RATE;
|
||||||
if (k == 'g') render_pitch_rate -= KEYBOARD_PITCH_RATE;
|
if (k == 'g') render_pitch_rate -= KEYBOARD_PITCH_RATE;
|
||||||
if (k == 'u') stars.setResolution(stars_tiles += 1);
|
if (k == 'u') stars.setResolution(starsTiles += 1);
|
||||||
if (k == 'j') stars.setResolution(stars_tiles = max(stars_tiles-1,1));
|
if (k == 'j') stars.setResolution(starsTiles = max(starsTiles-1,1));
|
||||||
if (k == 'i') if (stars_lod < 1.0) stars_lod = stars.changeLOD(1.01);
|
if (k == 'i') if (starsLod < 1.0) starsLod = stars.changeLOD(1.01);
|
||||||
if (k == 'k') if (stars_lod > 0.01) stars_lod = stars.changeLOD(0.99);
|
if (k == 'k') if (starsLod > 0.01) starsLod = stars.changeLOD(0.99);
|
||||||
if (k == 'r') stars.readInput("file://stars.txt", 0);
|
if (k == 'r') stars.readInput("file://stars.txt", 0);
|
||||||
// << tosh
|
// << tosh
|
||||||
if (k == 'o') simulate_on = !simulate_on;
|
if (k == 'o') simulate_on = !simulate_on;
|
||||||
|
|
Loading…
Reference in a new issue