Changeset 5672 in orxonox.OLD for trunk/src/lib/math
- Timestamp:
- Nov 21, 2005, 3:59:28 PM (19 years ago)
- Location:
- trunk/src/lib/math
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/math/vector.cc
r5662 r5672 23 23 #include "vector.h" 24 24 #ifdef DEBUG 25 #include "debug.h"25 #include "debug.h" 26 26 #else 27 #define PRINT(x) printf 27 #include <stdio.h> 28 #define PRINT(x) printf 28 29 #endif 29 30 -
trunk/src/lib/math/vector.h
r5435 r5672 26 26 #include <math.h> 27 27 #include "compiler.h" 28 #include "abstract_model.h"29 28 //! PI the circle-constant 30 29 #define PI 3.14159265359f 30 31 32 //! this is a small and performant 3D vector 33 typedef float sVec3D[3]; 34 35 36 //! small and performant 2D vector 37 typedef float sVec2D[2]; 38 39 31 40 32 41 //! 3D Vector
Note: See TracChangeset
for help on using the changeset viewer.