From 5f51f41e0e6a30a8edb135ae77ff586f4ccb0bf8 Mon Sep 17 00:00:00 2001 From: Alexander Rose <alexander.rose@weirdbyte.de> Date: Tue, 11 Dec 2018 14:40:45 -0800 Subject: [PATCH] fixed Mat4.rotate argument type --- src/mol-math/linear-algebra/3d/mat4.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mol-math/linear-algebra/3d/mat4.ts b/src/mol-math/linear-algebra/3d/mat4.ts index d6ac448ac..482fc13e9 100644 --- a/src/mol-math/linear-algebra/3d/mat4.ts +++ b/src/mol-math/linear-algebra/3d/mat4.ts @@ -446,7 +446,7 @@ namespace Mat4 { 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], len = Math.sqrt(x * x + y * y + z * z), s, c, t, -- GitLab