Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5692 in orxonox.OLD


Ignore:
Timestamp:
Nov 22, 2005, 12:37:29 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: no more valgrind warnings :)))))))

Location:
trunk/src/lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/collision_detection/obb_tree_node.cc

    r5689 r5692  
    233233  Vector    p, q, r;                                 //!< holder of the polygon data, much more conveniant to work with Vector than sVec3d
    234234  Vector    t1, t2;                                  //!< temporary values
    235   float     covariance[3][3];                        //!< the covariance matrix
     235  float     covariance[3][3] = {0,0,0, 0,0,0, 0,0,0};//!< the covariance matrix
    236236  int       mode = 0;                                //!< mode = 0: vertex soup, no connections, mode = 1: 3 following verteces build a triangle
    237237
  • trunk/src/lib/math/matrix.h

    r5675 r5692  
    1212
    1313  public:
     14    Matrix() : m11(0), m12(0), m13(0), m21(0), m22(0), m23(0), m31(0), m32(0), m33(0) { };
     15
    1416    Matrix ( float m11, float m12, float m13,
    1517             float m21, float m22, float m23,
     
    2022      this->m31 = m31; this->m32 = m32; this->m33 = m33;
    2123    };
     24    Matrix(const float m[9]) {};
    2225
    2326    Matrix operator+ (const Matrix& m) const {
  • trunk/src/lib/math/vector.h

    r5688 r5692  
    4444*/
    4545class Vector {
    46 
    47 
    4846 public:
    4947  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.