#include <KColData.hh>
Stores the vertex, height and normals of a collision prism.
We introduce this struct in Kinoko in order to pre-fetch a prism's geometry rather than accessing these fields from the various different arrays. This is a small performance improvement due to cache locality.
Definition at line 90 of file KColData.hh.
Public Attributes | |
| EGG::Vector3f | vtx |
| The first vertex of the tri. | |
| EGG::Vector3f | enrm1 |
| The first edge's normal. | |
| EGG::Vector3f | enrm2 |
| The second edge's normal. | |
| EGG::Vector3f | enrm3 |
| The third edge's normal. | |
| EGG::Vector3f | fnrm |
| The face normal. | |
| f32 | height |
| The height of the tri. | |
| EGG::Vector3f Kinoko::Field::KColData::KCollisionPrismGeometry::enrm1 |
The first edge's normal.
Definition at line 92 of file KColData.hh.
| EGG::Vector3f Kinoko::Field::KColData::KCollisionPrismGeometry::enrm2 |
The second edge's normal.
Definition at line 93 of file KColData.hh.
| EGG::Vector3f Kinoko::Field::KColData::KCollisionPrismGeometry::enrm3 |
The third edge's normal.
Definition at line 94 of file KColData.hh.
| EGG::Vector3f Kinoko::Field::KColData::KCollisionPrismGeometry::fnrm |
The face normal.
Definition at line 95 of file KColData.hh.
| f32 Kinoko::Field::KColData::KCollisionPrismGeometry::height |
The height of the tri.
Definition at line 96 of file KColData.hh.
| EGG::Vector3f Kinoko::Field::KColData::KCollisionPrismGeometry::vtx |
The first vertex of the tri.
Definition at line 91 of file KColData.hh.