Skip to content

galavi / computePosition

Function: computePosition()

computePosition(target, distance, yaw, pitch): Vec3

Defined in: utils/spherical.ts:44

Compute position from spherical parameters (target + distance + yaw + pitch)

Parameters

target

Vec3

distance

number

yaw

number

pitch

number

Returns

Vec3

Released under the GPL-3.0 License.