Changeset 5435 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Oct 25, 2005, 5:31:54 PM (19 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/abstract_model.h
r5430 r5435 16 16 /*! 17 17 * @file abstract_model.h 18 19 */18 * Definition of an abstract model. containing all needed for other model 19 */ 20 20 21 21 #ifndef _ABSTRACT_MODEL_H -
trunk/src/lib/math/vector.h
r5420 r5435 187 187 inline Vector getSpacialAxis() const { return this->v / sin(acos(w));/*sqrt(v.x*v.x + v.y*v.y + v.z+v.z);*/ }; 188 188 /** @returns the rotational angle of this Quaternion around getSpacialAxis() !! IN DEGREE !! */ 189 inline float getSpacialAxisAngle() const { return 360.0 / M_PI * acos( this->w); };189 inline float getSpacialAxisAngle() const { return 360.0 / M_PI * acos( this->w ); }; 190 190 191 191 static Quaternion quatSlerp(const Quaternion& from, const Quaternion& to, float t);
Note: See TracChangeset
for help on using the changeset viewer.