mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
expose some global functions
This commit is contained in:
parent
8eaa2efe72
commit
2120ffc5a5
@ -113,6 +113,11 @@ scale_shear_mat(const FLOATNAME(LVecBase3) &scale,
|
||||
shear._v.v._0 * scale._v.v._1, scale._v.v._1, -shear._v.v._2 * scale._v.v._1,
|
||||
-shear._v.v._1 * scale._v.v._2, 0.0f, scale._v.v._2);
|
||||
}
|
||||
|
||||
case CS_default:
|
||||
case CS_invalid:
|
||||
// These should not be possible.
|
||||
break;
|
||||
}
|
||||
|
||||
linmath_cat.error()
|
||||
|
@ -233,7 +233,9 @@ INLINE_LINMATH ostream &operator << (ostream &out, const FLOATNAME(LMatrix3) &ma
|
||||
return out;
|
||||
}
|
||||
|
||||
BEGIN_PUBLISH
|
||||
INLINE_LINMATH FLOATNAME(LMatrix3) transpose(const FLOATNAME(LMatrix3) &a);
|
||||
INLINE_LINMATH FLOATNAME(LMatrix3) invert(const FLOATNAME(LMatrix3) &a);
|
||||
END_PUBLISH
|
||||
|
||||
#include "lmatrix3_src.I"
|
||||
|
@ -228,8 +228,9 @@ INLINE_LINMATH ostream &operator << (ostream &out, const FLOATNAME(LMatrix4) &ma
|
||||
return out;
|
||||
}
|
||||
|
||||
|
||||
BEGIN_PUBLISH
|
||||
INLINE_LINMATH FLOATNAME(LMatrix4) transpose(const FLOATNAME(LMatrix4) &a);
|
||||
INLINE_LINMATH FLOATNAME(LMatrix4) invert(const FLOATNAME(LMatrix4) &a);
|
||||
END_PUBLISH
|
||||
|
||||
#include "lmatrix4_src.I"
|
||||
|
@ -94,9 +94,8 @@ INLINE_LINMATH ostream& operator<<(ostream& os, const FLOATNAME(LQuaternion)& q)
|
||||
return os;
|
||||
}
|
||||
|
||||
INLINE_LINMATH FLOATNAME(LQuaternion) invert(const FLOATNAME(LQuaternion) &a);
|
||||
|
||||
BEGIN_PUBLISH
|
||||
INLINE_LINMATH FLOATNAME(LQuaternion) invert(const FLOATNAME(LQuaternion) &a);
|
||||
INLINE_LINMATH FLOATNAME(LMatrix3)
|
||||
operator * (const FLOATNAME(LMatrix3) &m, const FLOATNAME(LQuaternion) &q);
|
||||
INLINE_LINMATH FLOATNAME(LMatrix4)
|
||||
|
Loading…
x
Reference in New Issue
Block a user