Function rotateY
Parameters
- out: vec3
The receiving vec3
- a: ReadonlyVec3
The vec3 point to rotate
- b: ReadonlyVec3
The origin of the rotation
- rad: number
The angle of rotation in radians
Returns vec3
out
- out: vec3
Was this helpful?
The receiving vec3
The vec3 point to rotate
The origin of the rotation
The angle of rotation in radians
out
Rotate a 3D vector around the y-axis