Skip to content

Commit

Permalink
removed include of matrix33 in osl
Browse files Browse the repository at this point in the history
  • Loading branch information
friedererdmann committed Oct 11, 2023
1 parent 43ca8cf commit c871d4f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions libraries/stdlib/genosl/mx_creatematrix.osl
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit c871d4f

Please sign in to comment.