Box2D Getting Started
Chapter 5 of Ian Parberry's "Introduction to Game Physics with Box2D"
 All Classes Files Functions Variables Enumerations Pages
Enumerations | Functions | Variables
gamedefines.h File Reference

Game defines. More...

#include "defines.h"

Enumerations

enum  GameObjectType { UNKNOWN_OBJECT, BALL_OBJECT, BOOK_OBJECT }
 Object type. More...
 

Functions

float PW2RW (float x)
 
float RW2PW (float x)
 Physics World to Render World units.
 
float RW2PW (int x)
 Render World to Physics World units.
 

Variables

const float fPRV = 10.0f
 Physics world rescale value.
 

Detailed Description

Game defines.

Enumeration Type Documentation

Object type.

Types of object that can appear in the game.