|
@@ -624,6 +624,19 @@ get_mat3() const {
|
|
|
_mat(3, 0), _mat(3, 1), _mat(3, 3));
|
|
_mat(3, 0), _mat(3, 1), _mat(3, 3));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
|
|
+// Function: TransformState::get_inverse
|
|
|
|
|
+// Access: Published
|
|
|
|
|
+// Description: Returns the inverse of this transform. If you are
|
|
|
|
|
+// going to immediately compose this result with another
|
|
|
|
|
+// TransformState, it is faster to do it in one
|
|
|
|
|
+// operation with invert_compose().
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
|
|
+INLINE CPT(TransformState) TransformState::
|
|
|
|
|
+get_inverse() const {
|
|
|
|
|
+ return invert_compose(TransformState::make_identity());
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
// Function: TransformState::get_geom_rendering
|
|
// Function: TransformState::get_geom_rendering
|
|
|
// Access: Published
|
|
// Access: Published
|