Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5694 in orxonox.OLD for trunk/src/lib/collision_detection


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

orxonox/trunk: new Matrix Constructor to create a Matrix out of a [3][3]-array

File:
1 edited

Legend:

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

    r5693 r5694  
    428428  Vector*              axis = new Vector[3];                //!< the references to the obb axis
    429429
    430   Matrix covMat(  box->covarianceMatrix[0][0], box->covarianceMatrix[0][1], box->covarianceMatrix[0][2],
    431                   box->covarianceMatrix[1][0], box->covarianceMatrix[1][1], box->covarianceMatrix[1][2],
    432                   box->covarianceMatrix[2][0], box->covarianceMatrix[2][1], box->covarianceMatrix[2][2] );
     430  Matrix covMat(  box->covarianceMatrix  );
    433431  covMat.getEigenVectors(axis[0], axis[1], axis[2] );
    434432
Note: See TracChangeset for help on using the changeset viewer.