diff --git a/libraries/stdlib/genosl/mx_creatematrix.osl b/libraries/stdlib/genosl/mx_creatematrix.osl index 820f8f7dae..f1aa27fd6f 100644 --- a/libraries/stdlib/genosl/mx_creatematrix.osl +++ b/libraries/stdlib/genosl/mx_creatematrix.osl @@ -1,11 +1,9 @@ -#include "matrix33.h" - void mx_creatematrix_vector3_matrix33(vector in1, vector in2, vector in3, out matrix33 result) { - result = matrix33.matrix44To33(matrix(in1.x, in1.y, in1.z, 0.0, - in2.x, in2.y, in2.z, 0.0, - in3.x, in3.y, in3.z, 0.0, - 0.0, 0.0, 0.0, 1.0)); + result = matrix(in1.x, in1.y, in1.z, 0.0, + in2.x, in2.y, in2.z, 0.0, + in3.x, in3.y, in3.z, 0.0, + 0.0, 0.0, 0.0, 1.0); } void mx_creatematrix_vector3_matrix44(vector3 in1, vector3 in2, vector3 in3, vector3 in4, out matrix result)