Пример #1
0
        public Vector2 CameraPointToScreen(CameraSpacePoint p)
        {
            Vector3 screenPoint3 = viewport.Project(p.ToXNA(), projetion, Matrix.Identity, Matrix.Identity);

            return(new Vector2(screenPoint3.X, screenPoint3.Y));
        }