orx  1.14
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   u32VertexCount
 
      orxVECTOR   vNext
 
      orxVECTOR   vPrevious
 
   }   stChain
 
   struct {
      orxVECTOR   avVertices [2]
 
      orxBOOL   bHasNext
 
      orxBOOL   bHasPrevious
 
      orxVECTOR   vNext
 
      orxVECTOR   vPrevious
 
   }   stEdge
 
   struct {
      orxVECTOR   avVertices [orxBODY_PART_DEF_KU32_MESH_VERTEX_NUMBER]
 
      orxU32   u32VertexCount
 
   }   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[2]

Mesh vertices : 132

Edge v2 : 56

Definition at line 152 of file orxPhysics.h.

orxVECTOR* orxBODY_PART_DEF::avVertices

Chain vertices : 60

Definition at line 170 of file orxPhysics.h.

orxBOOL orxBODY_PART_DEF::bHasNext

Has next vertex : 88

Has next vertex : 76

Definition at line 162 of file orxPhysics.h.

orxBOOL orxBODY_PART_DEF::bHasPrevious

Has previous vertex : 84

Has previous vertex : 72

Definition at line 161 of file orxPhysics.h.

orxBOOL orxBODY_PART_DEF::bIsLoop

Loop chain : 68

Definition at line 172 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::u32VertexCount

Mesh vertex count : 36

Chain vertex count : 64

Definition at line 151 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

Next vertex (ghost) : 80

Chain Next vertex (ghost) : 56

Definition at line 160 of file orxPhysics.h.

orxVECTOR orxBODY_PART_DEF::vPrevious

Previous vertex (ghost) : 68

Chain Previous vertex (ghost) : 44

Definition at line 159 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.8.11