Changeset 4310 in orxonox.OLD for orxonox/branches/physics/src/subprojects/particles
- Timestamp:
- May 26, 2005, 9:13:37 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/physics/src/subprojects/particles/framework.cc
r4309 r4310 123 123 case 4: 124 124 PRINTF(4)("MouseWheel up\n"); 125 //zoomTo *= .5;125 camera->setRelCoor(camera->getRelCoor() + (camera->getTarget()->getAbsCoor() - camera->getAbsCoor())*.1); 126 126 break; 127 127 case 5: 128 128 PRINTF(4)("MouseWheel down\n"); 129 //zoomTo *= 2.0;129 camera->setRelCoor(camera->getRelCoor() - (camera->getTarget()->getAbsCoor() - camera->getAbsCoor())*.1); 130 130 break; 131 131 case 1: … … 163 163 break; 164 164 case SDLK_a: 165 //zoomTo /=2;165 camera->setRelCoor(camera->getRelCoor() + (camera->getTarget()->getAbsCoor() - camera->getAbsCoor())*.1); 166 166 break; 167 167 case SDLK_z: 168 //zoomTo *=2;168 camera->setRelCoor(camera->getRelCoor() - (camera->getTarget()->getAbsCoor() - camera->getAbsCoor())*.1); 169 169 break; 170 170 case SDLK_h:
Note: See TracChangeset
for help on using the changeset viewer.