ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Grim::KeyframeAnim::KeyframeNode Struct Reference

Collaboration diagram for Grim::KeyframeAnim::KeyframeNode:

List of all members.

Public Member Functions

void loadBinary (Common::SeekableReadStream *data, char *meshName)
void loadText (TextSplitter &ts)
 ~KeyframeNode ()
void animate (ModelNode &node, float frame, float fade, bool useDelta) const

Public Attributes

char _meshName [32]
int _numEntries

Detailed Description

Definition at line 82 of file keyframe.h.

Constructor & Destructor Documentation

Grim::KeyframeAnim::KeyframeNode::~KeyframeNode (  ) 

Definition at line 258 of file keyframe.cpp.

Member Function Documentation

void Grim::KeyframeAnim::KeyframeNode::animate ( ModelNode node,
float  frame,
float  fade,
bool  useDelta 
) const

Interpolating between two orientations specified by Euler angles (yaw/pitch/roll) by linearly interpolating the YPR values does not compute proper in-between poses, i.e. the rotation from start to finish does not go via the shortest arc. Though, if the start and end poses are very similar to each other, this can look acceptable without visual artifacts.

Definition at line 262 of file keyframe.cpp.

void Grim::KeyframeAnim::KeyframeNode::loadBinary ( Common::SeekableReadStream data,
char *  meshName 

Definition at line 224 of file keyframe.cpp.

void Grim::KeyframeAnim::KeyframeNode::loadText ( TextSplitter ts  ) 

Definition at line 235 of file keyframe.cpp.

Member Data Documentation

Definition at line 89 of file keyframe.h.

The documentation for this struct was generated from the following files:

Generated on Sat Jan 12 2019 05:04:36 for ResidualVM by doxygen 1.7.1
curved edge   curved edge