GLFX::Scene::Frame Struct Reference

#include <glfxscene.h>

List of all members.

Public Member Functions

bool IsRotationOnly () const
void Blend (Frame &result, const Frame &other, float otherWeight) const
void BlendRotation (Quat &result, const Frame &other, float otherWeight) const
void ComputeTM (Matrix4 &tm) const

Public Attributes

Vec3 pos
Quat rot
Vec3 scl


Member Function Documentation

bool GLFX::Scene::Frame::IsRotationOnly (  )  const [inline]

Check if this frame has only rotation.

void GLFX::Scene::Frame::Blend ( Frame result,
const Frame other,
float  otherWeight 
) const [inline]

Blend two animation frames.

Parameters:
result resulting animation frame.
other second frame
otherWeight amount of other frame influcence (this frame has 1 - otherWeight)

void GLFX::Scene::Frame::BlendRotation ( Quat result,
const Frame other,
float  otherWeight 
) const [inline]

Blends two animation frames rotations.

Parameters:
result resulting rotation
other second frame
otherWeight amount of other frame influcence (this frame has 1 - otherWeight)

void GLFX::Scene::Frame::ComputeTM ( Matrix4 tm  )  const [inline]

Compute transformation matrix for this frame.

Parameters:
tm transformation matrix


Member Data Documentation

Vec3 GLFX::Scene::Frame::pos

Frame translation.

Quat GLFX::Scene::Frame::rot

Frame rotation.

Vec3 GLFX::Scene::Frame::scl

Frame scaling.


The documentation for this struct was generated from the following file:
SourceForge.net Logo