Changeset 10695 in orxonox.OLD for trunk/src/lib/math/quaternion.h
- Timestamp:
- Jun 14, 2007, 4:46:18 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/math/quaternion.h
r9656 r10695 109 109 float getBank() const; 110 110 Quaternion getBankQuat() const; 111 112 Vector getRotation() const; 113 111 114 /** @returns the rotational axis of this Quaternion */ 112 115 inline Vector getSpacialAxis() const { return this->v / sin(acos(w));/*sqrt(v.x*v.x + v.y*v.y + v.z+v.z);*/ };
Note: See TracChangeset
for help on using the changeset viewer.