addBox2D Class
Static class holding library specific information such as the version and buildDate of the library.
Item Index
Methods
fREE
(
Void
public
static
-
mem
If you implement MALLOC, you should also implement FREE.
Parameters:
-
mem
Returns:
Void:
mALLOC
(
public
static
-
size
Implement this function to use your own memory allocator. Gettin' hard core with ASM.js?
Parameters:
-
size
Number
Returns:
:
newVector
(
Array.<>
public
-
length
-
initialize
Returns a 'typed array' vector. An array of instantiated objects.
Parameters:
-
length
Int -
initialize
FunctionFunction returning an instantiated object for each index.
Returns:
Array.<>:
newVector
(
Array.-
length
Returns a 'typed array' vector of Numbers.
Parameters:
-
length
Int
Returns:
Array. :
parseUInt
(
Int
public
-
number
Converts a number to an unsigned integer.
Parameters:
-
number
Number
Returns:
Int:
unsigned integer