AppEasy Core SDK
1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
|
#include <CzBox2d.h>
Public Member Functions | |
void | setWorldScale (float x, float y) |
CzVec2 | getWorldScale () |
b2World * | getWorld () |
void | setVelocityIterations (int count) |
int | getVelocityIterations () const |
void | setPositionIterations (int count) |
int | getPositionIterations () const |
void | setGravity (float x, float y) |
CzVec2 | getGravity () const |
CzBox2dWorld () | |
virtual | ~CzBox2dWorld () |
virtual void | InitWorld (bool doSleep=true) |
virtual void | UpdateWorld (float dt) |
float | WorldToPixelX (float x) |
float | WorldToPixelY (float y) |
float | PixelToWorldX (float x) |
float | PixelToWorldY (float y) |
Protected Attributes | |
b2World * | World |
CzVec2 | WorldScale |
int | VelocityIterations |
int | PositionIterations |
CzVec2 | Gravity |
float | TimeStep |
CzBox2dWorld::CzBox2dWorld | ( | ) | [inline] |
CzBox2dWorld::~CzBox2dWorld | ( | ) | [virtual] |
CzVec2 CzBox2dWorld::getGravity | ( | ) | const [inline] |
int CzBox2dWorld::getPositionIterations | ( | ) | const [inline] |
int CzBox2dWorld::getVelocityIterations | ( | ) | const [inline] |
b2World* CzBox2dWorld::getWorld | ( | ) | [inline] |
CzVec2 CzBox2dWorld::getWorldScale | ( | ) | [inline] |
void CzBox2dWorld::InitWorld | ( | bool | doSleep = true | ) | [virtual] |
float CzBox2dWorld::PixelToWorldX | ( | float | x | ) | [inline] |
float CzBox2dWorld::PixelToWorldY | ( | float | y | ) | [inline] |
void CzBox2dWorld::setGravity | ( | float | x, |
float | y | ||
) |
void CzBox2dWorld::setPositionIterations | ( | int | count | ) | [inline] |
void CzBox2dWorld::setVelocityIterations | ( | int | count | ) | [inline] |
void CzBox2dWorld::setWorldScale | ( | float | x, |
float | y | ||
) | [inline] |
void CzBox2dWorld::UpdateWorld | ( | float | dt | ) | [virtual] |
float CzBox2dWorld::WorldToPixelX | ( | float | x | ) | [inline] |
float CzBox2dWorld::WorldToPixelY | ( | float | y | ) | [inline] |
CzVec2 CzBox2dWorld::Gravity [protected] |
int CzBox2dWorld::PositionIterations [protected] |
float CzBox2dWorld::TimeStep [protected] |
int CzBox2dWorld::VelocityIterations [protected] |
b2World* CzBox2dWorld::World [protected] |
CzVec2 CzBox2dWorld::WorldScale [protected] |