#include <ObjectCollisionBase.hh>
The base class that all objects' collision inherits from.
Implementation is done via the GJK distance algorithm. https://en.wikipedia.org/wiki/Gilbert-Johnson-Keerthi_distance_algorithm
Definition at line 24 of file ObjectCollisionBase.hh.
|
| bool | enclosesOrigin (const GJKState &state, u32 idx) const |
| |
| void | FUN_808350e4 (GJKState &state, EGG::Vector3f &v) const |
| |
| bool | getNearestSimplex (GJKState &state, EGG::Vector3f &v) const |
| |
| void | getNearestPoint (GJKState &state, u32 idx, EGG::Vector3f &v0, EGG::Vector3f &v1) const |
| |
| bool | FUN_808357e4 (const GJKState &state, u32 idx) const |
| |
| bool | inSimplex (const GJKState &state, const EGG::Vector3f &v) const |
| |
| void | getNearestPoint (const GJKState &state, u32 idx, EGG::Vector3f &v) const |
| |
| void | calcSimplex (GJKState &state) const |
| |
◆ calcSimplex()
| void Field::ObjectCollisionBase::calcSimplex |
( |
GJKState & | state | ) |
const |
|
private0x80835A8C |
◆ check()
◆ enclosesOrigin()
| bool Field::ObjectCollisionBase::enclosesOrigin |
( |
const GJKState & | state, |
|
|
u32 | idx ) const |
|
private0x8083504C |
◆ FUN_808350e4()
◆ FUN_808357e4()
| bool Field::ObjectCollisionBase::FUN_808357e4 |
( |
const GJKState & | state, |
|
|
u32 | idx ) const |
|
private0x808357E40x808359A4 |
◆ getNearestPoint() [1/2]
| void Field::ObjectCollisionBase::getNearestPoint |
( |
const GJKState & | state, |
|
|
u32 | idx, |
|
|
EGG::Vector3f & | v ) const |
|
private0x80835F34 |
◆ getNearestPoint() [2/2]
◆ getNearestSimplex()
◆ inSimplex()
◆ translation()
| const EGG::Vector3f & Field::ObjectCollisionBase::translation |
( |
| ) |
const |
|
inlinenodiscard0x80573520 |
◆ m_00
◆ m_translation
◆ s_dotProductCache
| std::array< std::array< f32, 4 >, 4 > Field::ObjectCollisionBase::s_dotProductCache = {{}} |
|
staticprivate |