コード例 #1
0
 private Common.Bounding.Frustum FrustumWithMargin(Camera camera, Graphics.GraphicsDevice.Viewport viewport)
 {
     return(camera.FrustumFromRectangle(viewport, new Point(-enLargement, -enLargement),
                                        new Point((int)viewport.Width + enLargement, (int)viewport.Height + enLargement)));
 }
 private Common.Bounding.Frustum FrustumWithMargin(Camera camera, Graphics.GraphicsDevice.Viewport viewport)
 {
     return camera.FrustumFromRectangle(viewport, new Point(-enLargement, -enLargement),
         new Point((int)viewport.Width + enLargement, (int)viewport.Height + enLargement));
 }