Panda3D
 All Classes Functions Variables Enumerations
jointVertexTransform.I
1 // Filename: jointVertexTransform.I
2 // Created by: drose (24Mar05)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 
16 ////////////////////////////////////////////////////////////////////
17 // Function: JointVertexTransform::get_joint
18 // Access: Published
19 // Description: Returns the joint for which this object returns the
20 // transform.
21 ////////////////////////////////////////////////////////////////////
23 get_joint() const {
24  return _joint;
25 }
26 
27 ////////////////////////////////////////////////////////////////////
28 // Function: JointVertexTransform::check_matrix
29 // Access: Private
30 // Description: Recomputes _matrix if it needs it.
31 ////////////////////////////////////////////////////////////////////
32 INLINE void JointVertexTransform::
33 check_matrix() const {
34  if (_matrix_stale) {
35  ((JointVertexTransform *)this)->compute_matrix();
36  }
37 }
const CharacterJoint * get_joint() const
Returns the joint for which this object returns the transform.
This is a specialization on VertexTransform that returns the transform necessary to move vertices as ...
This represents one joint of the character's animation, containing an animating transform matrix...