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