Exemple #1
0
 public void Set(mat2 val, bool transpose = false, bool keep_layout = true)
 {
     var t = transpose ? Type.MAT2_T : Type.MAT2; InnerVal.Set(val.serialize(ValType == t && keep_layout ? (float[])InnerVal.arrayv : null)); ValType = t;
 }
Exemple #2
0
 public Value(mat2 val, bool transpose = false)
 {
     InnerVal = new InnerValue(val.serialize()); ValType = transpose ? Type.MAT2_T : Type.MAT2;
 }