4#include "../Objects/Cube.h"
5#include "../Math/FunctionGenerator.h"
6#include "../Objects/Bee.h"
16 scene->AddObject(
bee.GetObject());
19 void FadeIn(
float stepRatio)
override {}
28 bee.GetObject()->ResetVertices();
30 bee.GetObject()->GetTransform()->SetRotation(rotation);
31 bee.GetObject()->GetTransform()->SetScale(
Vector3D(1.2f, 1.2f, 1.2f));
33 bee.GetObject()->GetTransform()->SetPosition(
Vector3D(000.0f, -40.0f, 600.0f));
35 bee.GetObject()->UpdateTransform();
FunctionGenerator fGenRotationX
void FadeIn(float stepRatio) override
void FadeOut(float stepRatio) override
void Update(float ratio) override
FunctionGenerator fGenRotationY
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.
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.