mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
added lvec4 cast
This commit is contained in:
parent
0fc8016840
commit
c686acd92d
@ -35,6 +35,16 @@ FLOATNAME(LRotation)(const FLOATNAME(LQuaternion) &c) :
|
|||||||
FLOATNAME(LQuaternion)(c) {
|
FLOATNAME(LQuaternion)(c) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
// Function: LRotation::Copy Constructor
|
||||||
|
// Access: public
|
||||||
|
// Description:
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
INLINE_LINMATH FLOATNAME(LRotation)::
|
||||||
|
FLOATNAME(LRotation)(const FLOATNAME(LVecBase4) ©) :
|
||||||
|
FLOATNAME(LQuaternion)(copy) {
|
||||||
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// Function: LRotation::Constructor
|
// Function: LRotation::Constructor
|
||||||
// Access: public
|
// Access: public
|
||||||
|
@ -24,6 +24,7 @@ class EXPCL_PANDA FLOATNAME(LRotation) : public FLOATNAME(LQuaternion) {
|
|||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE_LINMATH FLOATNAME(LRotation)();
|
INLINE_LINMATH FLOATNAME(LRotation)();
|
||||||
INLINE_LINMATH FLOATNAME(LRotation)(const FLOATNAME(LQuaternion) &);
|
INLINE_LINMATH FLOATNAME(LRotation)(const FLOATNAME(LQuaternion) &);
|
||||||
|
INLINE_LINMATH FLOATNAME(LRotation)(const FLOATNAME(LVecBase4) ©);
|
||||||
INLINE_LINMATH FLOATNAME(LRotation)(FLOATTYPE, FLOATTYPE, FLOATTYPE, FLOATTYPE);
|
INLINE_LINMATH FLOATNAME(LRotation)(FLOATTYPE, FLOATTYPE, FLOATTYPE, FLOATTYPE);
|
||||||
INLINE_LINMATH FLOATNAME(LRotation)(const FLOATNAME(LVector3) &, FLOATTYPE);
|
INLINE_LINMATH FLOATNAME(LRotation)(const FLOATNAME(LVector3) &, FLOATTYPE);
|
||||||
INLINE_LINMATH FLOATNAME(LRotation)(const FLOATNAME(LMatrix3) &);
|
INLINE_LINMATH FLOATNAME(LRotation)(const FLOATNAME(LMatrix3) &);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user