ackb2d 0.9
3D Gamestudio Box 2d Wraper

ackDebugDraw.h File Reference

Go to the source code of this file.

Defines

#define ackDebugDraw_SetFlags(debug, flags)   b2DebugDraw_SetFlags(debug, flags)
 Set the drawing flags.
#define ackDebugDraw_GetFlags(debug)   b2DebugDraw_GetFlags(flags)
 Get the drawing flags.
#define ackDebugDraw_AppendFlags(debug, flags)   b2DebugDraw_AppendFlags(debug, flags)
 Append flags to the current flags.

Functions

ackDebugDrawackDebugDraw_Create (var world_scale)
 Create debugDraw class.
void ackDebugDraw_Destroy (ackDebugDraw *debug)
 Delete a debugDraw inatance.
void ackDebugDraw_SetWorldScale (ackDebugDraw *debug, var world_scale)
 Set the world scale.
var ackDebugDraw_GetWorldScale (ackDebugDraw *debug)
 Get the world scale.
void ackDebugDraw_SetAlpha (ackDebugDraw *debug, var alpha)
 Set the draw alpha.
var ackDebugDraw_GetAlpha (ackDebugDraw *debug)
 Get the drawing alpha.

Define Documentation

#define ackDebugDraw_AppendFlags (   debug,
  flags 
)    b2DebugDraw_AppendFlags(debug, flags)

Append flags to the current flags.

Parameters:
debugThe ackDebugDraw instance
flagsThe flags to be appended

Definition at line 54 of file ackDebugDraw.h.

#define ackDebugDraw_GetFlags (   debug)    b2DebugDraw_GetFlags(flags)

Get the drawing flags.

Parameters:
debugThe ackDebugDraw instance
Returns:
The current debug flags

Definition at line 48 of file ackDebugDraw.h.

#define ackDebugDraw_SetFlags (   debug,
  flags 
)    b2DebugDraw_SetFlags(debug, flags)

Set the drawing flags.

Parameters:
debugThe ackDebugDraw instance
flagsThe flags to be set

Definition at line 42 of file ackDebugDraw.h.


Function Documentation

ackDebugDraw* ackDebugDraw_Create ( var  world_scale)

Create debugDraw class.

Parameters:
world_scaleThe drawing scale
void ackDebugDraw_Destroy ( ackDebugDraw debug)

Delete a debugDraw inatance.

Parameters:
debugThe ackDebugDraw pointer
var ackDebugDraw_GetAlpha ( ackDebugDraw debug)

Get the drawing alpha.

Parameters:
debugThe ackDebugDraw pointer
Returns:
alpha The drawing alpha
var ackDebugDraw_GetWorldScale ( ackDebugDraw debug)

Get the world scale.

Parameters:
debugThe ackDebugDraw pointer
Returns:
world_scale The drawing world scale
void ackDebugDraw_SetAlpha ( ackDebugDraw debug,
var  alpha 
)

Set the draw alpha.

Parameters:
debugThe ackDebugDraw pointer
alphaThe drawing alpha
void ackDebugDraw_SetWorldScale ( ackDebugDraw debug,
var  world_scale 
)

Set the world scale.

Parameters:
debugThe ackDebugDraw pointer
world_scaleThe world scale
 All Data Structures Files Functions Variables Typedefs Defines