mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 03:53:34 +02:00
added key interface to toggle voxels
This commit is contained in:
parent
e910bece1d
commit
e19b53a344
1 changed files with 1 additions and 0 deletions
|
@ -864,6 +864,7 @@ void key(unsigned char k, int x, int y)
|
|||
if (k == 'q') ::terminate();
|
||||
if (k == '/') statsOn = !statsOn; // toggle stats
|
||||
if (k == '*') ::starsOn = !::starsOn; // toggle stars
|
||||
if (k == 'V') ::showingVoxels = !::showingVoxels; // toggle voxels
|
||||
if (k == '&') {
|
||||
::paintOn = !::paintOn; // toggle paint
|
||||
::setupPaintingVoxel(); // also randomizes colors
|
||||
|
|
Loading…
Reference in a new issue