Panda3D
panda
src
char
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
////////////////////////////////////////////////////////////////////
22
INLINE
const
CharacterJoint
*
JointVertexTransform::
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
}
JointVertexTransform::get_joint
const CharacterJoint * get_joint() const
Returns the joint for which this object returns the transform.
Definition:
jointVertexTransform.I:23
JointVertexTransform
This is a specialization on VertexTransform that returns the transform necessary to move vertices as ...
Definition:
jointVertexTransform.h:38
CharacterJoint
This represents one joint of the character's animation, containing an animating transform matrix...
Definition:
characterJoint.h:34
Generated on Wed May 17 2017 23:40:26 for Panda3D by
1.8.13