public static DTStacks.DataType.Generic.Math.Matrix4x4 Matrix4x42DTStacks(this Matrix4x4 a) { DTStacks.DataType.Generic.Math.Matrix4x4 m = new DTStacks.DataType.Generic.Math.Matrix4x4(); for (int i = 0; i < 4; i++) { for (int k = 0; k < 4; k++) { m.matrix[i, k] = a[i, k]; } } return(m); }
public static Matrix4x4 Matrix4x42Unity(this DTStacks.DataType.Generic.Math.Matrix4x4 a) { Matrix4x4 m = new Matrix4x4(); for (int i = 0; i < 4; i++) { for (int k = 0; k < 4; k++) { m[i, k] = a.matrix[i, k]; } } return(m); }