Position

constructor(x: Double, y: Double, z: Double)

Creates a new position with the given x, y, and z coordinates.

Return

the new position

Parameters

x

the X coordinate

y

the Y coordinate

z

the Z coordinate


constructor(x: Double, y: Double, z: Double, yaw: Float, pitch: Float)