From 3e28d5d77deec7407273fb400bbe9cb360cfa0d4 Mon Sep 17 00:00:00 2001 From: Andy Hanson Date: Mon, 16 Oct 2017 10:10:25 -0700 Subject: [PATCH] Fix test --- types/gl-matrix/gl-matrix-tests.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/gl-matrix/gl-matrix-tests.ts b/types/gl-matrix/gl-matrix-tests.ts index 765f871e30..02654491b4 100644 --- a/types/gl-matrix/gl-matrix-tests.ts +++ b/types/gl-matrix/gl-matrix-tests.ts @@ -70,7 +70,7 @@ outVec2 = vec2.negate(outVec2, vec2A); outVec2 = vec2.inverse(outVec2, vec2A); outVec2 = vec2.normalize(outVec2, vec2A); outVal = vec2.dot(vec2A, vec2B); -outVec2 = vec2.cross(outVec2, vec2A, vec2B); +outVec2 = vec2.cross(outVec3, vec2A, vec2B); outVec2 = vec2.lerp(outVec2, vec2A, vec2B, 0.5); outVec2 = vec2.random(outVec2); outVec2 = vec2.random(outVec2, 5.0); @@ -432,7 +432,7 @@ outVec2 = _vec2.negate(outVec2, vec2A); outVec2 = _vec2.inverse(outVec2, vec2A); outVec2 = _vec2.normalize(outVec2, vec2A); outVal = _vec2.dot(vec2A, vec2B); -outVec2 = _vec2.cross(outVec2, vec2A, vec2B); +outVec2 = _vec2.cross(outVec3, vec2A, vec2B); outVec2 = _vec2.lerp(outVec2, vec2A, vec2B, 0.5); outVec2 = _vec2.random(outVec2); outVec2 = _vec2.random(outVec2, 5.0);