示例#1
0
        public Bound3 Transform(Mat3 matrix)
        {
            Bound3 result;

            result.min = min.Transform(matrix);
            result.max = max.Transform(matrix);
            return(result);
        }
        public AffineTransform3 Invert()
        {
            AffineTransform3 result;

            result.Transform   = Transform.Invert();
            result.Translation = Translation.Transform(result.Transform);
            result.Translation = -result.Translation;
            return(result);
        }
示例#3
0
 public Line3 Transform(Mat3 matrix)
 {
     return(new Line3(point1.Transform(matrix), point2.Transform(matrix)));
 }