示例#1
0
        public static Mat22 Abs(Mat22 A)
        {
            Mat22 B = new Mat22();

            B.Set(MathB2.Abs(A.Col1), MathB2.Abs(A.Col2));
            return(B);
        }
示例#2
0
        public static Vec2 Abs(Vec2 a)
        {
            Vec2 b = new Vec2();

            b.Set(MathB2.Abs(a.X), MathB2.Abs(a.Y));
            return(b);
        }