![]() |
ProtoTracer
1.0
Real-time 3D rendering and animation engine
|
#include <CubeAnimation.h>
Public Member Functions | |
CubeAnimation () | |
void | FadeIn (float stepRatio) override |
void | FadeOut (float stepRatio) override |
void | Update (float ratio) override |
Private Attributes | |
Cube | cube |
DepthMaterial | dMat = DepthMaterial(DepthMaterial::Z, 100.0f, 600.0f) |
LightMaterial | lMat = LightMaterial() |
FunctionGenerator | fGenRotation = FunctionGenerator(FunctionGenerator::Sine, -360.0f, 360.0f, 6.0f) |
FunctionGenerator | fGenScale = FunctionGenerator(FunctionGenerator::Sine, 0.25f, 0.75f, 4.0f) |
Definition at line 9 of file CubeAnimation.h.
|
inline |
Definition at line 18 of file CubeAnimation.h.
Definition at line 24 of file CubeAnimation.h.
Definition at line 25 of file CubeAnimation.h.
Definition at line 27 of file CubeAnimation.h.
References cube, EulerConstants::EulerOrderXZYS, fGenRotation, fGenScale, Rotation::GetQuaternion(), and FunctionGenerator::Update().
|
private |
Definition at line 11 of file CubeAnimation.h.
Referenced by CubeAnimation(), and Update().
|
private |
Definition at line 12 of file CubeAnimation.h.
Referenced by CubeAnimation().
|
private |
Definition at line 14 of file CubeAnimation.h.
Referenced by Update().
|
private |
Definition at line 15 of file CubeAnimation.h.
Referenced by Update().
|
private |
Definition at line 13 of file CubeAnimation.h.