DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
CCPoly Class Reference

#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 
 
};  
 

Detailed Description

Stores a collision triangle, its plane normal, and its associated metadata.

Definition at line 46 of file collision.hpp.

Member Data Documentation

◆ vertex

sceVu0FVECTOR CCPoly::vertex[3]

Corners of the triangle.

Definition at line 48 of file collision.hpp.

◆ normal

sceVu0FVECTOR CCPoly::normal

Normal of the triangle's plane.

Definition at line 49 of file collision.hpp.

◆ info

CCPolyInfo CCPoly::info

Surface metadata as the collision data stores it, copied whole.

Definition at line 52 of file collision.hpp.

◆ ground_kind

s16 CCPoly::ground_kind

What the surface is made of.

Definition at line 55 of file collision.hpp.

◆ foot_sound

s16 CCPoly::foot_sound

Sound the character's feet play on it.

Definition at line 56 of file collision.hpp.

◆ area_kind

s16 CCPoly::area_kind

Kind of area the surface marks.

See also
AreaKind.

Definition at line 57 of file collision.hpp.

◆ ignore_mask

s16 CCPoly::ignore_mask

Collision query modes that pass through the surface.

Definition at line 58 of file collision.hpp.

◆ unk_48

u8 CCPoly::unk_48[8]

Definition at line 59 of file collision.hpp.