|
DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
|
#include <collision.hpp>
Public Attributes | ||
| sceVu0FVECTOR | vertex [3] | |
| sceVu0FVECTOR | normal | |
| union { | ||
| CCPolyInfo info | ||
| struct { | ||
| s16 ground_kind | ||
| s16 foot_sound | ||
| s16 area_kind | ||
| s16 ignore_mask | ||
| u8 unk_48 [8] | ||
| } attr | ||
| }; | ||
Stores a collision triangle, its plane normal, and its associated metadata.
Definition at line 46 of file collision.hpp.
| sceVu0FVECTOR CCPoly::vertex[3] |
Corners of the triangle.
Definition at line 48 of file collision.hpp.
| sceVu0FVECTOR CCPoly::normal |
Normal of the triangle's plane.
Definition at line 49 of file collision.hpp.
| CCPolyInfo CCPoly::info |
Surface metadata as the collision data stores it, copied whole.
Definition at line 52 of file collision.hpp.
| s16 CCPoly::ground_kind |
What the surface is made of.
Definition at line 55 of file collision.hpp.
| s16 CCPoly::foot_sound |
Sound the character's feet play on it.
Definition at line 56 of file collision.hpp.
| s16 CCPoly::area_kind |
| s16 CCPoly::ignore_mask |
Collision query modes that pass through the surface.
Definition at line 58 of file collision.hpp.
| u8 CCPoly::unk_48[8] |
Definition at line 59 of file collision.hpp.