The object pool system of Vec3, Mat3, Mat4, and Quat.

Constructor

new()

Default constructor.

Methods

inlinedispose(?vec3:Vec3, ?mat3:Mat3, ?mat4:Mat4, ?quat:Quat):Void

Disposes an object got from Pool.vec3, Pool.mat3, Pool.mat4, or Pool.quat.

inlinedisposeMat3(m:Mat3):Void

Disposes an Mat3 object got from Pool.mat3.

inlinedisposeMat4(m:Mat4):Void

Disposes an Mat4 object got from Pool.mat4.

inlinedisposeQuat(q:Quat):Void

Disposes an Quat object got from Pool.quat.

inlinedisposeVec3(v:Vec3):Void

Disposes an Vec3 object got from Pool.vec3.

inlinemat3():Mat3

Returns a Mat3 object. If an unused object of Mat3 is pooled, this does not create a new instance.

inlinemat4():Mat4

Returns a Mat4 object. If an unused object of Vec3 is pooled, this does not create a new instance.

inlinequat():Quat

Returns a Quat object. If an unused object of Quat is pooled, this does not create a new instance.

inlinevec3():Vec3

Returns a Vec3 object. If an unused object of Vec3 is pooled, this does not create a new instance.