#include <ObjectCollisionBox.hh>
Inherits ObjectCollisionConvexHull, as a box is a convex hull of its vertices.
Definition at line 8 of file ObjectCollisionBox.hh.
Public Member Functions | |
| ObjectCollisionBox (f32 x, f32 y, f32 z, const EGG::Vector3f ¢er) | |
| void | transform (const EGG::Matrix34f &mat, const EGG::Vector3f &scale) override |
| void | transform (const EGG::Matrix34f &mat, const EGG::Vector3f &scale, const EGG::Vector3f &speed) override |
Public Member Functions inherited from Field::ObjectCollisionConvexHull | |
| ObjectCollisionConvexHull (const std::span< const EGG::Vector3f > &points) | |
| Creates a convex hull with the provided points. | |
| void | transform (const EGG::Matrix34f &mat, const EGG::Vector3f &scale) override |
| void | transform (const EGG::Matrix34f &mat, const EGG::Vector3f &scale, const EGG::Vector3f &speed) override |
| const EGG::Vector3f & | getSupport (const EGG::Vector3f &v) const override |
| f32 | getBoundingRadius () const override |
| virtual void | setBoundingRadius (f32 val) |
Public Member Functions inherited from Field::ObjectCollisionBase | |
| bool | check (ObjectCollisionBase &rhs, EGG::Vector3f &distance) |
| const EGG::Vector3f & | translation () const |
Private Attributes | |
| EGG::Vector3f | m_dimensions |
| EGG::Vector3f | m_center |
| EGG::Vector3f | m_scale |
Additional Inherited Members | |
Protected Member Functions inherited from Field::ObjectCollisionConvexHull | |
| ObjectCollisionConvexHull (size_t count) | |
| Allocates space for a convex hull with the provided point count. This overload can only be called via inheritance or delegating constructors. | |
Protected Attributes inherited from Field::ObjectCollisionConvexHull | |
| std::span< EGG::Vector3f > | m_points |
Protected Attributes inherited from Field::ObjectCollisionBase | |
| EGG::Vector3f | m_translation |
|
0x80833840 |
Definition at line 6 of file ObjectCollisionBox.cc.
|
overridevirtual0x80833B00 |
Implements Field::ObjectCollisionBase.
Definition at line 49 of file ObjectCollisionBox.cc.
|
overridevirtual0x80833EEC |
Implements Field::ObjectCollisionBase.
Definition at line 91 of file ObjectCollisionBox.cc.
|
private |
Definition at line 19 of file ObjectCollisionBox.hh.
|
private |
Definition at line 18 of file ObjectCollisionBox.hh.
|
private |
Definition at line 20 of file ObjectCollisionBox.hh.