ACollideData class
A container holding information related to detected collisions.
Contents
Constructors, destructors, conversion operators
- 
              ACollideData(const bool isIntersect,
              const float gap,
              const RML::Vector2D collisionNormal) 
- Constructor.
- ~ACollideData()
- Destructor.
Public functions
- auto getIsIntersect() const -> const bool&
- Returns if the colliders have intersected.
- auto getGap() const -> const float&
- Returns the separation gap between the colliders.
- 
              auto getCollisionNormal() const -> const RML::Vector2D& 
- Returns the collision normal.
Function documentation
               Rubeus::
            Constructor.
| Parameters | |
|---|---|
| isIntersect | Bool containing if the colliders are intersecting. | 
| gap | The penetration distance of the collision. | 
| collisionNormal | The normal vector of the collision | 
              const bool& Rubeus::
            Returns if the colliders have intersected.
| Returns | The intersection boolean. | 
|---|
              const float& Rubeus::
            Returns the separation gap between the colliders.
| Returns | The gap in float. | 
|---|
              const RML::
            Returns the collision normal.
| Returns | A Vector2D containing co-ordinates of the collision normal. | 
|---|