예제 #1
0
        public Vector3 Transform(Transform3 t)
        {
            double tx, ty, tz;

            t.Apply(X, Y, Z, out tx, out ty, out tz, false);
            return(new Vector3(tx, ty, tz));
        }
예제 #2
0
파일: Point3.cs 프로젝트: ventor3000/guppy2
        public Point3 Transform(Transform3 t)
        {
            double tx, ty, tz;

            t.Apply(X, Y, Z, out tx, out ty, out tz, true);
            return(new Point3(tx, ty, tz));
        }
예제 #3
0
 public Ray3 Transform(Transform3 t)
 {
     return(new Ray3(Position.Transform(t), Direction.Transform(t)));
 }