torque Torque Game Engine Documentation
TGE Version 1.5.2

Heightfield Struct Reference

#include <terraformer.h>


Public Member Functions

 Heightfield (U32 r, U32 sz)
 ~Heightfield ()
Heightfieldoperator= (const Heightfield &src)
S32 offset (S32 x, S32 y)
F32val (S32 x, S32 y)
F32val (S32 index)
void block (S32 x, S32 y, F32 *a)
S32valS32 (S32 x, S32 y)
S32valS32 (S32 index)

Data Fields

U32 registerNumber
U32 mask
U32 shift
union {
   F32 *   data
   S32 *   dataS32
}; 

Static Public Attributes

static S32zoneOffset
static U32 instance


Constructor & Destructor Documentation

Heightfield::Heightfield ( U32  r,
U32  sz 
)

Heightfield::~Heightfield (  ) 


Member Function Documentation

Heightfield& Heightfield::operator= ( const Heightfield src  ) 

S32 Heightfield::offset ( S32  x,
S32  y 
) [inline]

F32 & Heightfield::val ( S32  x,
S32  y 
) [inline]

F32 & Heightfield::val ( S32  index  )  [inline]

void Heightfield::block ( S32  x,
S32  y,
F32 a 
) [inline]

S32 & Heightfield::valS32 ( S32  x,
S32  y 
) [inline]

S32 & Heightfield::valS32 ( S32  index  )  [inline]


Field Documentation

union { ... }




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen