- Timestamp:
- Nov 22, 2005, 12:37:29 AM (19 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/collision_detection/obb_tree_node.cc
r5689 r5692 233 233 Vector p, q, r; //!< holder of the polygon data, much more conveniant to work with Vector than sVec3d 234 234 Vector t1, t2; //!< temporary values 235 float covariance[3][3] ;//!< the covariance matrix235 float covariance[3][3] = {0,0,0, 0,0,0, 0,0,0};//!< the covariance matrix 236 236 int mode = 0; //!< mode = 0: vertex soup, no connections, mode = 1: 3 following verteces build a triangle 237 237 -
trunk/src/lib/math/matrix.h
r5675 r5692 12 12 13 13 public: 14 Matrix() : m11(0), m12(0), m13(0), m21(0), m22(0), m23(0), m31(0), m32(0), m33(0) { }; 15 14 16 Matrix ( float m11, float m12, float m13, 15 17 float m21, float m22, float m23, … … 20 22 this->m31 = m31; this->m32 = m32; this->m33 = m33; 21 23 }; 24 Matrix(const float m[9]) {}; 22 25 23 26 Matrix operator+ (const Matrix& m) const { -
trunk/src/lib/math/vector.h
r5688 r5692 44 44 */ 45 45 class Vector { 46 47 48 46 public: 49 47 Vector (float x, float y, float z) : x(x), y(y), z(z) {} //!< assignment constructor
Note: See TracChangeset
for help on using the changeset viewer.