![]() |
ProtoTracer
1.0
Real-time 3D rendering and animation engine
|
#include <RocksAnimation.h>
Public Member Functions | |
RocksAnimation () | |
void | FadeIn (float stepRatio) override |
void | FadeOut (float stepRatio) override |
void | Update (float ratio) override |
Private Attributes | |
Rocks | rocks |
FunctionGenerator | fGenRotation = FunctionGenerator(FunctionGenerator::Sine, -30.0f, 0.0f, 2.6f) |
FunctionGenerator | fGenScale = FunctionGenerator(FunctionGenerator::Sine, 5.0f * 25.0f, 7.5f * 25.0f, 4.2f) |
Definition at line 7 of file RocksAnimation.h.
|
inline |
Definition at line 14 of file RocksAnimation.h.
References rocks.
Definition at line 18 of file RocksAnimation.h.
Definition at line 19 of file RocksAnimation.h.
Definition at line 21 of file RocksAnimation.h.
References EulerConstants::EulerOrderXZYS, fGenRotation, fGenScale, Rotation::GetQuaternion(), rocks, and FunctionGenerator::Update().
|
private |
Definition at line 10 of file RocksAnimation.h.
Referenced by Update().
|
private |
Definition at line 11 of file RocksAnimation.h.
Referenced by Update().
|
private |
Definition at line 9 of file RocksAnimation.h.
Referenced by RocksAnimation(), and Update().