A factory object containing an helper method to generate
Vec3D instances.
Methods
-
<static> newVec3D(x, y, z, isFloat)
-
Creates an instance of
Vec3D, which defines a set of coordinates in a virtual world represented by a MMORoom.
Parameters:
Name Type Description xnumber The position along the X axis. ynumber The position along the Y axis. znumber The position along the Z axis. isFloatboolean Force the coordinates to be treated as floating point numbers (even if integers are passed). Returns:
A
Vec3D instance.
- Type
- Vec3D