Ignore:
Timestamp:
Jun 10, 2005, 5:24:31 PM (19 years ago)
Author:
darran
Message:
  • towards steep culling based on alpha transparency.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Swollen/swollen/keyboardeventhandler.cpp

    r92 r104  
    1414    _prevtime = 0;
    1515    _togglewireframe = false;
     16    _toggleculling = false;
    1617}
    1718
     
    7677                break;
    7778
     79            case 'c':
     80                _toggleculling = true;
     81                handled = true;
     82                break;
     83
     84
    7885            }
    7986
     
    120127
    121128
     129bool KeyboardEventHandler::toggleCulling()
     130{
     131    if( _toggleculling )
     132    {
     133        _toggleculling = false;
     134        return true;
     135    }
     136    return false;
     137}
     138
     139
Note: See TracChangeset for help on using the changeset viewer.