15#include "../../Utils/Math/Rotation.h"
16#include "../../Utils/Math/Vector3D.h"
17#include "../../Scene/Objects/Object3D.h"
Defines the BoundarySphere class for simulating spherical boundary objects.
Represents an axis-aligned bounding cube for collision detection and physics.
Vector3D GetMinimum()
Retrieves the minimum coordinates of the cube.
void Update(float dT, Vector3D acceleration, Quaternion rotation)
Updates the cube's state based on time, acceleration, and rotation.
Vector3D velocity
Velocity of the cube.
void CollideSphere(float elasticity, BoundarySphere *bO)
Handles collision with a BoundarySphere.
Vector3D GetSize()
Retrieves the size of the cube.
Vector3D position
Current position of the cube.
Vector3D GetMaximum()
Retrieves the maximum coordinates of the cube.
Vector3D centerPosition
Center position of the bounding cube.
Vector3D GetPosition()
Retrieves the current position of the cube.
Vector3D IsIntersecting(BoundaryCube *bO)
Checks for intersection with another BoundaryCube.
Vector3D minimum
Minimum coordinates of the bounding cube.
Vector3D maximum
Maximum coordinates of the bounding cube.
Quaternion previousRotation
Previous rotation of the object.
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.