Creates a new observable point.
The position on the x axis.
The position on the y axis.
The position on the z axis.
The callback when changed.
The owner of callback.
The callback function triggered when x
and/or y
are changed
The owner of the callback
Array containing the x, y, z values.
Array containing the x, y, z values.
Calculates the length of the point.
Position on the x axis relative to the local coordinates of the parent.
Position on the x axis relative to the local coordinates of the parent.
Position on the y axis relative to the local coordinates of the parent.
Position on the y axis relative to the local coordinates of the parent.
Position on the z axis relative to the local coordinates of the parent.
Position on the z axis relative to the local coordinates of the parent.
The callback function triggered when x
and/or y
are changed
Sets the point to a new x, y and z position.
The position on the x axis.
The position on the y axis.
The position on the z axis.
Sets the point to a new x, y and z position.
The array containing x, y and z, expected length is 3.
Performs a linear interpolation between two points.
The first point.
The second point.
The interpolation amount, in the range [0-1], between the two inputs.
The receiving point. If not supplied, a new point will be created.
Transforms a point with a matrix or quaternion.
The point to transform.
The matrix or quaternion to transform with.
The receiving point. If not supplied, a new point will be created.
Generated using TypeDoc
Represents a point in 3D space.