Skip to content
Snippets Groups Projects
Commit 5f51f41e authored by Alexander Rose's avatar Alexander Rose
Browse files

fixed Mat4.rotate argument type

parent d0a39e94
No related branches found
No related tags found
No related merge requests found
...@@ -446,7 +446,7 @@ namespace Mat4 { ...@@ -446,7 +446,7 @@ namespace Mat4 {
return out return out
} }
export function rotate(out: Mat4, a: Mat4, rad: number, axis: Mat4) { export function rotate(out: Mat4, a: Mat4, rad: number, axis: Vec3) {
let x = axis[0], y = axis[1], z = axis[2], let x = axis[0], y = axis[1], z = axis[2],
len = Math.sqrt(x * x + y * y + z * z), len = Math.sqrt(x * x + y * y + z * z),
s, c, t, s, c, t,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment