Changeset 10698 in orxonox.OLD for trunk/src/world_entities/tools
- Timestamp:
- Jun 14, 2007, 5:33:43 PM (18 years ago)
- Location:
- trunk/src/world_entities/tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/tools/camera.cc
r10618 r10698 203 203 this->setRelCoor(Vector(-0.05, this->viewTopDistance , 0)); 204 204 this->target->setRelCoor(0,0,0); 205 break; 206 } 207 case Camera::ViewFPS: 208 { 209 this->fovy = viewNormalFovy; 210 this->toFovy = viewNormalFovy; 211 this->setRelCoorSoft(this->viewFrontDistance, 0, 0, 5); 212 this->target->setRelCoorSoft(Vector(10,0,0), 5); 213 break; 214 } 215 case Camera::ViewFPSZoom: 216 { 217 this->fovy = viewNormalFovy; 218 this->toFovy = 30; 219 this->setRelCoorSoft(2, 0, 0, 5); 220 this->target->setRelCoorSoft(Vector(10,0,0), 5); 205 221 } 206 222 } -
trunk/src/world_entities/tools/camera.h
r10618 r10698 34 34 ViewLeft, 35 35 ViewRight, 36 ViewTop 36 ViewTop, 37 ViewFPS, 38 ViewFPSZoom 37 39 }; 38 40 public: -
trunk/src/world_entities/tools/mount_point.cc
r10618 r10698 22 22 23 23 #include "weapons/weapon_slot.h" 24 #include "weapons/weapon.h" 24 25 25 26 #include "particles/particle_system.h" … … 36 37 * construct 37 38 */ 38 MountPoint::MountPoint (const Vector& up, const Vector& forward, const Vector& center, const std::string& name)39 MountPoint::MountPoint (const Vector& up, const Vector& forward, const Vector& center, const std::string& name) 39 40 { 40 41 // PRINTF(0)("Created mount point %s\n", name.c_str()); … … 153 154 this->getRelDir()*Quaternion(M_PI, Vector(0,1,0))); 154 155 } 156 155 157 } 156 158 }
Note: See TracChangeset
for help on using the changeset viewer.