Changeset 4372 in orxonox.OLD for orxonox/trunk/src/lib/math
- Timestamp:
- May 29, 2005, 10:36:20 AM (20 years ago)
- Location:
- orxonox/trunk/src/lib/math
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/math/vector.cc
r3971 r4372 100 100 */ 101 101 102 Vector Vector::getNormalized() 102 Vector Vector::getNormalized() const 103 103 { 104 104 float l = len(); … … 329 329 */ 330 330 331 Vector Quaternion::apply ( Vector& v) const331 Vector Quaternion::apply (const Vector& v) const 332 332 { 333 333 Quaternion q; -
orxonox/trunk/src/lib/math/vector.h
r3971 r4372 56 56 z = z / l; 57 57 } 58 Vector getNormalized() ;58 Vector getNormalized() const; 59 59 Vector abs(); 60 60 … … 96 96 return r;} 97 97 Quaternion inverse () const; 98 Vector apply ( Vector& f) const;98 Vector apply (const Vector& f) const; 99 99 float norm () const; 100 100 void matrix (float m[4][4]) const;
Note: See TracChangeset
for help on using the changeset viewer.