orx  stable
Portable Game Engine
orxBODY_PART_DEF Struct Reference

#include <orxPhysics.h>

Data Fields

union {
   struct {
      orxAABOX   stBox
 
   }   stAABox
 
   struct {
      orxVECTOR *   avVertices
 
      orxBOOL   bHasNext
 
      orxBOOL   bHasPrevious
 
      orxBOOL   bIsLoop
 
      orxU32   u32VertexCounter
 
      orxVECTOR   vNext
 
      orxVECTOR   vPrevious
 
   }   stChain
 
   struct {
      orxBOOL   bHasVertex0
 
      orxBOOL   bHasVertex3
 
      orxVECTOR   v0
 
      orxVECTOR   v1
 
      orxVECTOR   v2
 
      orxVECTOR   v3
 
   }   stEdge
 
   struct {
      orxVECTOR   avVertices [orxBODY_PART_DEF_KU32_MESH_VERTEX_NUMBER]
 
      orxU32   u32VertexCounter
 
   }   stMesh
 
   struct {
      orxFLOAT   fRadius
 
      orxVECTOR   vCenter
 
   }   stSphere
 
}; 
 
orxFLOAT fDensity
 
orxFLOAT fFriction
 
orxFLOAT fRestitution
 
orxU16 u16CheckMask
 
orxU16 u16SelfFlags
 
orxU32 u32Flags
 
orxVECTOR vScale
 

Detailed Description

Part definition

Definition at line 126 of file orxPhysics.h.

Field Documentation

union { ... }

Part : 132

orxVECTOR orxBODY_PART_DEF::avVertices[orxBODY_PART_DEF_KU32_MESH_VERTEX_NUMBER]

Mesh vertices : 132

Definition at line 152 of file orxPhysics.h.

orxVECTOR* orxBODY_PART_DEF::avVertices

Chain vertices : 60

Definition at line 171 of file orxPhysics.h.

orxBOOL orxBODY_PART_DEF::bHasNext

Has Next vertex : 76

Definition at line 175 of file orxPhysics.h.

orxBOOL orxBODY_PART_DEF::bHasPrevious

Has Previous vertex : 72

Definition at line 174 of file orxPhysics.h.

orxBOOL orxBODY_PART_DEF::bHasVertex0

Edge Has v0 : 84

Definition at line 162 of file orxPhysics.h.

orxBOOL orxBODY_PART_DEF::bHasVertex3

Edge Has v3 : 88

Definition at line 163 of file orxPhysics.h.

orxBOOL orxBODY_PART_DEF::bIsLoop

Loop chain : 68

Definition at line 173 of file orxPhysics.h.

orxFLOAT orxBODY_PART_DEF::fDensity

Density : 24

Definition at line 131 of file orxPhysics.h.

orxFLOAT orxBODY_PART_DEF::fFriction

Friction : 16

Definition at line 129 of file orxPhysics.h.

orxFLOAT orxBODY_PART_DEF::fRadius

Sphere radius : 48

Definition at line 141 of file orxPhysics.h.

orxFLOAT orxBODY_PART_DEF::fRestitution

Restitution : 20

Definition at line 130 of file orxPhysics.h.

struct { ... } orxBODY_PART_DEF::stAABox

Box : 56

orxAABOX orxBODY_PART_DEF::stBox

Axis aligned Box : 56

Definition at line 146 of file orxPhysics.h.

struct { ... } orxBODY_PART_DEF::stChain
struct { ... } orxBODY_PART_DEF::stEdge
struct { ... } orxBODY_PART_DEF::stMesh
struct { ... } orxBODY_PART_DEF::stSphere

Sphere : 48

orxU16 orxBODY_PART_DEF::u16CheckMask

Check mask : 28

Definition at line 133 of file orxPhysics.h.

orxU16 orxBODY_PART_DEF::u16SelfFlags

Self defining flags : 26

Definition at line 132 of file orxPhysics.h.

orxU32 orxBODY_PART_DEF::u32Flags

Control flags : 32

Definition at line 134 of file orxPhysics.h.

orxU32 orxBODY_PART_DEF::u32VertexCounter

Mesh vertex counter : 36

Chain vertex counter : 64

Definition at line 151 of file orxPhysics.h.

orxVECTOR orxBODY_PART_DEF::v0

Edge v0 (ghost): 44

Definition at line 158 of file orxPhysics.h.

orxVECTOR orxBODY_PART_DEF::v1

Edge v1 : 56

Definition at line 159 of file orxPhysics.h.

orxVECTOR orxBODY_PART_DEF::v2

Edge v2 : 68

Definition at line 160 of file orxPhysics.h.

orxVECTOR orxBODY_PART_DEF::v3

Edge v3 (ghost): 80

Definition at line 161 of file orxPhysics.h.

orxVECTOR orxBODY_PART_DEF::vCenter

Sphere center : 44

Definition at line 140 of file orxPhysics.h.

orxVECTOR orxBODY_PART_DEF::vNext

Chain Next vertex (ghost) : 56

Definition at line 170 of file orxPhysics.h.

orxVECTOR orxBODY_PART_DEF::vPrevious

Chain Previous vertex (ghost) : 44

Definition at line 169 of file orxPhysics.h.

orxVECTOR orxBODY_PART_DEF::vScale

Scale : 12

Definition at line 128 of file orxPhysics.h.


The documentation for this struct was generated from the following file:

Generated for orx by doxygen 1.5.6