Converts an angle measured in degrees to an equivalent value in radians.
Converts an angle measured in radians to an equivalent value in degrees.
Return the minimal delta between angles a
and b
given in degrees.
Equivalent to a - b
in coordinate space with exception vector direction can be reversed
that if abs(a-b) > 180
because trip is shorter in 'other' direction.
Useful when interpolating between b
and a
in angle space.
Start angle in degrees.
End angle in degrees.
Angle that that satisfies condition a - b - d = 0
in angle space.
Copies the vector across.
The vector to copy from.
The resulting [Vector3Like] instance, with the contents copied from from
Interpolate linearly between two angles given in degrees.
Angle from in degrees
Angle to in degrees
Interpolation factor (alpha), in range 0-1
.
Creates a new empty bounding box.
Creates a new [Vector3Like] instance.
The x component.
The y component.
The z component.
Creates a new [Vector3Like] instance.
The x component.
The y component.
The z component.
The [Vector3Like]
Normalize angle in degrees to range [0, 360)
.
Angle in degrees.
Angle in degrees in range [0, 360)
.
Normalize latitude angle in degrees to range [-180, 180]
.
Latitude angle in degrees.
Latitude angle in degrees in range [-180, 180]
.
Generated using TypeDoc
Ensures that input value fits in a given range.
The value to be clamped.
Minimum value.
Maximum value.
Clamped value.
Use THREE.MathUtils.clamp.