added lvec4 cast

This commit is contained in:
Dave Schuyler 2006-03-11 00:14:09 +00:00
parent 0fc8016840
commit c686acd92d
2 changed files with 11 additions and 0 deletions

View File

@ -35,6 +35,16 @@ FLOATNAME(LRotation)(const FLOATNAME(LQuaternion) &c) :
FLOATNAME(LQuaternion)(c) {
}
////////////////////////////////////////////////////////////////////
// Function: LRotation::Copy Constructor
// Access: public
// Description:
////////////////////////////////////////////////////////////////////
INLINE_LINMATH FLOATNAME(LRotation)::
FLOATNAME(LRotation)(const FLOATNAME(LVecBase4) &copy) :
FLOATNAME(LQuaternion)(copy) {
}
////////////////////////////////////////////////////////////////////
// Function: LRotation::Constructor
// Access: public

View File

@ -24,6 +24,7 @@ class EXPCL_PANDA FLOATNAME(LRotation) : public FLOATNAME(LQuaternion) {
PUBLISHED:
INLINE_LINMATH FLOATNAME(LRotation)();
INLINE_LINMATH FLOATNAME(LRotation)(const FLOATNAME(LQuaternion) &);
INLINE_LINMATH FLOATNAME(LRotation)(const FLOATNAME(LVecBase4) &copy);
INLINE_LINMATH FLOATNAME(LRotation)(FLOATTYPE, FLOATTYPE, FLOATTYPE, FLOATTYPE);
INLINE_LINMATH FLOATNAME(LRotation)(const FLOATNAME(LVector3) &, FLOATTYPE);
INLINE_LINMATH FLOATNAME(LRotation)(const FLOATNAME(LMatrix3) &);