Rotates a vector around an axis
v = [1, 0, 0] axis = [0, 1, 0] // rotate around Y axis angle = pi / 2 // 90 degrees result = raylib.Vector3RotateByAxisAngle(v, axis, angle) print result // approximately [0, 0, -1]
There was an error while loading. Please reload this page.