linearly v0.32.0 • Docs
linearly v0.32.0 / vec3 / rotateY
Function: rotateY()
rotateY(
v
,origin
,deg
):vec3
Rotate a 3D vector around the y-axis
Parameters
• v: vec3
The vec3 point to rotate
• origin: vec3
The origin of the rotation
• deg: number
The angle of rotation in degrees