Exemplo n.º 1
0
Arquivo: Mat2.cs Projeto: niuniuzhu/RC
 public static Mat2 Abs(Mat2 m)
 {
     return(new Mat2(Vec2.Abs(m.x), Vec2.Abs(m.y)));
 }
Exemplo n.º 2
0
 public Mat2 Abs()
 {
     return(new Mat2(x.Abs(), y.Abs()));
 }