15#include "../../Utils/Math/Rotation.h"
16#include "../../Utils/Math/Vector3D.h"
17#include "../../Scene/Objects/Object3D.h"
Defines the BoundaryCube class for representing and managing axis-aligned bounding cubes.
Defines the BoundarySphere class for simulating spherical boundary objects.
Represents an axis-aligned bounding cube for collision detection and physics.
Simulates motion and collision interactions between a BoundaryCube and multiple BoundarySpheres.
void Randomize(float range)
Randomizes the velocities of all boundary spheres within a specified range.
void Update(float dT, Vector3D acceleration, Quaternion rotation)
Updates the simulation by applying physics and resolving collisions.
int sphereCount
Number of boundary spheres.
float elasticity
Elasticity coefficient for collisions.
Vector3D RandomRatio(float range)
Generates a randomized vector with ratios for X, Y, and Z axes.
BoundarySphere ** bS
Array of pointers to the boundary spheres.
BoundaryCube * bC
Pointer to the boundary cube.
Represents a spherical boundary object for motion and collision simulations.
Represents a 3D object with geometry, material, and transformation data.
A mathematical construct representing a rotation in 3D space.
Represents a 3D vector (X, Y, Z) and provides methods for vector arithmetic.