5#include "../../Assets/Models/OBJ/Creeper.h"
27 float px =
fGenPos.Update() / 4.0f;
31 creeper.GetObject()->ResetVertices();
33 creeper.GetObject()->GetTransform()->SetRotation(rotation);
34 creeper.GetObject()->GetTransform()->SetScale(
Vector3D(sx * 0.25f, sx * -0.25f, sx * 0.25f));
36 creeper.GetObject()->GetTransform()->SetPosition(
Vector3D(0.0f + 96.0f, px - 0.0f, 600.0f));
38 creeper.GetObject()->UpdateTransform();
Provides a generator for common mathematical wave functions.
Declares the HUB75Controller class for managing HUB75 LED matrices.
A material class that visualizes surface normals.
Declares the Project class for managing animations, rendering, and display operations.
FunctionGenerator fGenPos
FunctionGenerator fGenScale
FunctionGenerator fGenRotation
void Update(float ratio) override
Updates the project state based on the given ratio.
Encapsulates a 3D rotation using Euler angles and a specific order of application.
A class to generate various waveform functions with customizable parameters.
Project(CameraManager *cameras, Controller *controller, uint8_t numObjects)
Constructs a Project with specified camera manager and controller.
Scene scene
The Scene object representing the rendered environment.
A mathematical construct representing a rotation in 3D space.
Handles 3D rotations and conversions between various rotation representations.
Quaternion GetQuaternion()
Gets the quaternion representation of the rotation.
Represents a 3D vector (X, Y, Z) and provides methods for vector arithmetic.
const EulerOrder EulerOrderXZYS
Order: X → Z → Y, static frame.