4#include "../Math/FunctionGenerator.h"
5#include "../Objects/Spyro.h"
6#include "../Sensors/SerialInterpreter.h"
16 scene->AddObject(
spyro.GetObject());
23 void FadeIn(
float stepRatio)
override {}
34 spyro.GetObject()->ResetVertices();
36 spyro.GetObject()->GetTransform()->SetRotation(rotation);
37 spyro.GetObject()->GetTransform()->SetScale(
Vector3D(sx, sx, sx));
38 spyro.GetObject()->GetTransform()->SetPosition(
Vector3D(120.0f, 40.0f, 600.0f));
40 spyro.GetObject()->UpdateTransform();
A class to generate various waveform functions with customizable parameters.
float Update()
Updates and calculates the next value of the waveform.
A mathematical construct representing a rotation in 3D space.
Represents an RGB color and provides methods for manipulation.
static RGBColor GetColor()
static Quaternion GetOrientation()
A material that applies a single, solid RGB color to surfaces.
void SetRGB(RGBColor rgb)
Sets a new RGB color for the material.
FunctionGenerator fGenScale
void FadeIn(float stepRatio) override
void FadeOut(float stepRatio) override
void Update(float ratio) override
Represents a 3D vector (X, Y, Z) and provides methods for vector arithmetic.