12#ifdef JPH_DEBUG_RENDERER
62#ifdef JPH_DEBUG_RENDERER
unsigned int uint
Definition Core.h:309
#define JPH_NAMESPACE_END
Definition Core.h:240
#define JPH_NAMESPACE_BEGIN
Definition Core.h:234
#define JPH_OVERRIDE_NEW_DELETE
Macro to override the new and delete functions.
Definition Memory.h:29
std::vector< T, STLAllocator< T > > Array
Definition STLAllocator.h:81
Simple triangle renderer for debugging purposes.
Definition DebugRenderer.h:25
Holds a 4x4 matrix of floats, but supports also operations on the 3x3 upper left part of the matrix.
Definition Mat44.h:13
static JPH_INLINE Mat44 sIdentity()
Identity matrix.
Definition Mat44.inl:35
Definition Reference.h:154
Constains the current state of a joint, a local space transformation relative to its parent joint.
Definition SkeletalAnimation.h:22
Resource that contains the joint hierarchy for a skeleton.
Definition Skeleton.h:18
Instance of a skeleton, contains the pose the current skeleton is in.
Definition SkeletonPose.h:18
Mat44 & GetJointMatrix(int inJoint)
Definition SkeletonPose.h:50
const Mat44Vector & GetJointMatrices() const
Definition SkeletonPose.h:47
void SetSkeleton(const Skeleton *inSkeleton)
Definition SkeletonPose.cpp:14
const Skeleton * GetSkeleton() const
Definition SkeletonPose.h:29
void CalculateJointStates()
Convert joint matrices to joint states.
Definition SkeletonPose.cpp:37
void CalculateJointMatrices()
Convert the joint states to joint matrices.
Definition SkeletonPose.cpp:22
JointStateVector & GetJoints()
Definition SkeletonPose.h:40
const JointStateVector & GetJoints() const
Definition SkeletonPose.h:39
void SetRootOffset(RVec3Arg inOffset)
Extra offset applied to the root (and therefore also to all of its children)
Definition SkeletonPose.h:33
Array< Mat44 > Mat44Vector
Definition SkeletonPose.h:24
JointState & GetJoint(int inJoint)
Definition SkeletonPose.h:42
const Mat44 & GetJointMatrix(int inJoint) const
Definition SkeletonPose.h:49
Array< JointState > JointStateVector
Definition SkeletonPose.h:23
Mat44Vector & GetJointMatrices()
Definition SkeletonPose.h:48
void CalculateLocalSpaceJointMatrices(Mat44 *outMatrices) const
Outputs the joint matrices in local space (ensure that outMatrices has GetJointCount() elements,...
Definition SkeletonPose.cpp:54
RVec3 GetRootOffset() const
Definition SkeletonPose.h:34
uint GetJointCount() const
Definition SkeletonPose.h:38
const JointState & GetJoint(int inJoint) const
Definition SkeletonPose.h:41
void Draw(const DrawSettings &inDrawSettings, DebugRenderer *inRenderer, RMat44Arg inOffset=RMat44::sIdentity()) const
Draw current pose.
Definition SkeletonPose.cpp:61
static JPH_INLINE Vec3 sZero()
Vector with all zeros.
Definition Vec3.inl:107
Draw settings.
Definition SkeletonPose.h:65
bool mDrawJointOrientations
Definition SkeletonPose.h:67
bool mDrawJointNames
Definition SkeletonPose.h:68
bool mDrawJoints
Definition SkeletonPose.h:66