cocos2d-x  3.0alpha1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PhysicsHelper Class Reference

#include <CCPhysicsHelper_chipmunk.h>

Static Public Member Functions

static Point cpv2point (const cpVect &vec)
static cpVect point2cpv (const Point &point)
static Size cpv2size (const cpVect &vec)
static cpVect size2cpv (const Size &size)
local size2cpv ( local size)
static float cpfloat2float (cpFloat f)
static cpFloat float2cpfloat (float f)
local float2cpfloat ( local f)
static cpBB rect2cpbb (const Rect &rect)
local rect2cpbb ( local rect)
static Rect cpbb2rect (const cpBB &bb)
local cpbb2rect ( local bb)
static Pointcpvs2points (const cpVect *cpvs, Point *out, int count)
local cpvs2points ( local cpvs, local out, local count)
static cpVect * points2cpvs (const Point *points, cpVect *out, int count)
var points2cpvs ( var points, var out, var count)
local points2cpvs ( local points, local out, local count)

Member Function Documentation

static Rect cpbb2rect ( const cpBB &  bb)
inlinestatic
var cpbb2rect ( var  bb)
inlinestatic
local cpbb2rect ( local  bb)
inlinestatic
static float cpfloat2float ( cpFloat  f)
inlinestatic
var cpfloat2float ( var  f)
inlinestatic
local cpfloat2float ( local  f)
inlinestatic
static Point cpv2point ( const cpVect &  vec)
inlinestatic
var cpv2point ( var  vec)
inlinestatic
local cpv2point ( local  vec)
inlinestatic
static Size cpv2size ( const cpVect &  vec)
inlinestatic
var cpv2size ( var  vec)
inlinestatic
local cpv2size ( local  vec)
inlinestatic
static Point* cpvs2points ( const cpVect *  cpvs,
Point out,
int  count 
)
inlinestatic
var cpvs2points ( var  cpvs,
var  out,
var  count 
)
inlinestatic
local cpvs2points ( local  cpvs,
local  out,
local  count 
)
inlinestatic
static cpFloat float2cpfloat ( float  f)
inlinestatic
var float2cpfloat ( var  f)
inlinestatic
local float2cpfloat ( local  f)
inlinestatic
static cpVect point2cpv ( const Point point)
inlinestatic
var point2cpv ( var  point)
inlinestatic
local point2cpv ( local  point)
inlinestatic
static cpVect* points2cpvs ( const Point points,
cpVect *  out,
int  count 
)
inlinestatic
var points2cpvs ( var  points,
var  out,
var  count 
)
inlinestatic
local points2cpvs ( local  points,
local  out,
local  count 
)
inlinestatic
static cpBB rect2cpbb ( const Rect rect)
inlinestatic
var rect2cpbb ( var  rect)
inlinestatic
local rect2cpbb ( local  rect)
inlinestatic
static cpVect size2cpv ( const Size size)
inlinestatic
var size2cpv ( var  size)
inlinestatic
local size2cpv ( local  size)
inlinestatic

The documentation for this class was generated from the following file: