20 #if !defined(CPPPARSER) && !defined(LINK_ALL_STATIC) && !defined(BUILDING_PANDA_LINMATH) 21 #error Buildsystem error: BUILDING_PANDA_LINMATH not defined 24 Configure(config_linmath);
25 NotifyCategoryDef(linmath,
"");
27 ConfigureFn(config_linmath) {
32 (
"paranoid-hpr-quat",
false,
33 PRC_DESC(
"Set this true to doublecheck the quaternion-hpr compose and " 34 "decompose operations against the quaternion-matrix and matrix-hpr " 35 "operations. This only has effect if NDEBUG is not defined."));
38 (
"no-singular-invert",
false,
39 PRC_DESC(
"Set this true to make singular-invert warning messages generate an " 40 "assertion failure instead of just a warning (which can then be " 41 "trapped with assert-abort)."));
51 static bool initialized =
false;
57 LVecBase2f::init_type();
58 LVecBase3f::init_type();
59 LVecBase4f::init_type();
60 LVector2f::init_type();
61 LVector3f::init_type();
62 LVector4f::init_type();
63 LPoint2f::init_type();
64 LPoint3f::init_type();
65 LPoint4f::init_type();
66 LMatrix3f::init_type();
67 LMatrix4f::init_type();
68 UnalignedLVecBase4f::init_type();
69 UnalignedLMatrix4f::init_type();
71 LVecBase2d::init_type();
72 LVecBase3d::init_type();
73 LVecBase4d::init_type();
74 LVector2d::init_type();
75 LVector3d::init_type();
76 LVector4d::init_type();
77 LPoint2d::init_type();
78 LPoint3d::init_type();
79 LPoint4d::init_type();
80 LMatrix3d::init_type();
81 LMatrix4d::init_type();
82 UnalignedLVecBase4d::init_type();
83 UnalignedLMatrix4d::init_type();
85 LVecBase2i::init_type();
86 LVecBase3i::init_type();
87 LVecBase4i::init_type();
88 LVector2i::init_type();
89 LVector3i::init_type();
90 LVector4i::init_type();
91 LPoint2i::init_type();
92 LPoint3i::init_type();
93 LPoint4i::init_type();
94 UnalignedLVecBase4i::init_type();
96 LQuaternionf::init_type();
97 LRotationf::init_type();
98 LOrientationf::init_type();
100 LQuaterniond::init_type();
101 LRotationd::init_type();
102 LOrientationd::init_type();
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a convenience class to specialize ConfigVariable as a boolean type.
void init_liblinmath()
Initializes the library.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.