wavelength 1.0.0
Loading...
Searching...
No Matches
rndtransanim.h File Reference
#include <list>
#include <vector>
#include "math/key.h"
#include "math/quaternion.h"
#include "math/transform.h"
#include "math/vector3.h"
#include "rnd/rndanimatable.h"
#include "rnd/rnddrawable.h"
#include "rnd/rndtransformable.h"
Include dependency graph for rndtransanim.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RndTransAnim
 Animation of a transformable's local transform by rotation, translation, and scale keys. More...

Functions

void InterpVector (const std::vector< Key< Vector3 > > &keys, int nInterp, Vector3 &out, Vector3 *pTangent, float fFrame)
 Interpolate vector keys at a frame.
PrnStream & operator<< (PrnStream &stream, RndTransAnim::Interp eInterp)
 Write the name of an interpolation.

Function Documentation

◆ InterpVector()

void InterpVector ( const std::vector< Key< Vector3 > > & keys,
int nInterp,
Vector3 & out,
Vector3 * pTangent,
float fFrame )

Interpolate vector keys at a frame.

Nothing is written for no keys.

Parameters
keysThe keys.
nInterpThe RndTransAnim::Interp.
outReceives the value.
pTangentReceives the direction of the path at the frame, or null for none.
fFrameThe frame.
Ghidra address:
NTSC-U/C: 0x00246988
Ghidra address:
PAL: 0x0024f428

◆ operator<<()

PrnStream & operator<< ( PrnStream & stream,
RndTransAnim::Interp eInterp )

Write the name of an interpolation.

Parameters
streamThe stream to write to.
eInterpThe interpolation. An unknown one writes nothing.
Returns
The stream.
Ghidra address:
NTSC-U/C: 0x00247438
Ghidra address:
PAL: 0x0024fed8