3#include "../Templates/Project.h"
4#include "../../Utils/Signals/FunctionGenerator.h"
5#include "../../Assets/Models/OBJ/Creeper.h"
6#include "../../Scene/Materials/Static/NormalMaterial.h"
7#include "../../Scene/Objects/ObjectDeformer.h"
9#include "../../Camera/CameraManager/Implementations/HUB75DeltaCameras.h"
10#include "../../Controller/HUB75Controller.h"
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();
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.
float Update()
Updates and calculates the next value of the waveform.
Manages animations, rendering, and display operations.
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.
void AddObject(Object3D *object)
Adds a 3D object to the scene.
Represents a 3D vector (X, Y, Z) and provides methods for vector arithmetic.
const EulerOrder EulerOrderXZYS
Order: X → Z → Y, static frame.