Vec3Pool Class
Constructor
Vec3Pool
()
Methods
defaults
(
Object
static
-
options
-
defaults
Extend an options object with default values.
Parameters:
-
options
ObjectThe options object. May be falsy: in this case, a new object is created and returned.
-
defaults
ObjectAn object containing default values.
Returns:
Object:
The modified options object.
get
()
Mixed
Get an object
Returns:
Mixed:
release
(
-
obj
Release an object after use
Parameters:
-
obj
Object
Properties
objects
Array
The pooled objects
type
Mixed
Constructor of the objects