Changeset 10376 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Jan 26, 2007, 12:17:26 AM (18 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/math/vector.h
r10314 r10376 124 124 * @return the angle between the vectors in radians 125 125 */ 126 inline float angle Deg(const Vector& v1, const Vector& v2) { return acos( v1 * v2 / (v1.len() * v2.len())); };126 inline float angleRad (const Vector& v1, const Vector& v2) { return acos( v1 * v2 / (v1.len() * v2.len())); }; 127 127 /** 128 128 * calculate the angle between two vectors in degrees … … 131 131 * @return the angle between the vectors in degrees 132 132 */ 133 inline float angle Rad(const Vector& v1, const Vector& v2) { return acos( v1 * v2 / (v1.len() * v2.len())) * 180/M_PI; };133 inline float angleDeg (const Vector& v1, const Vector& v2) { return acos( v1 * v2 / (v1.len() * v2.len())) * 180/M_PI; }; 134 134 135 135 /** an easy way to create a Random Vector @param sideLength the length of the Vector (x not sqrt(x^2...)) */ -
trunk/src/lib/util/debug.h
r9951 r10376 82 82 #define DEBUG_MODULE_GUI 2 83 83 #define DEBUG_MODULE_SOUND 2 84 #define DEBUG_MODULE_AI 2 84 85 85 86 // MISC
Note: See TracChangeset
for help on using the changeset viewer.