예제 #1
0
 public Camera(IViewPort viewPort, Vector3 position, Vector3 lookAtPosition, Vector3 upPosition)
 {
     ViewPort       = viewPort;
     Position       = position;
     LookAtPosition = lookAtPosition;
     UpPosition     = upPosition;
     Near           = 1;
     Far            = 500;
     Fov            = MathUtilities.DegToRad(45);
     Aspect         = float.NaN;
 }
예제 #2
0
 public Camera(IViewPort viewPort)
 {
     ViewPort       = viewPort;
     Position       = new Vector3(10, 10, 10);
     LookAtPosition = new Vector3(0, 0, 0);
     UpPosition     = new Vector3(10, 11, 10);
     Near           = 1;
     Far            = 500;
     Fov            = MathUtilities.DegToRad(45);
     Aspect         = float.NaN;
 }
예제 #3
0
 public Camera(IViewPort viewPort, Vector3 position, Vector3 lookAtPosition, Vector3 upPosition)
 {
     ViewPort = viewPort;
     Position = position;
     LookAtPosition = lookAtPosition;
     UpPosition = upPosition;
     Near = 1;
     Far = 500;
     Fov = MathUtilities.DegToRad(45);
     Aspect = float.NaN;
 }
예제 #4
0
 public Camera(IViewPort viewPort, Vector3 position, Vector3 lookAtPosition, Vector3 upPosition, float near, float far, float fov)
 {
     ViewPort = viewPort;
     Position = position;
     LookAtPosition = lookAtPosition;
     UpPosition = upPosition;
     Near = near;
     Far = far;
     Fov = fov;
     Aspect = float.NaN;
 }
예제 #5
0
 public Camera(IViewPort viewPort)
 {
     ViewPort = viewPort;
     Position = new Vector3(10, 10, 10);
     LookAtPosition = new Vector3(0, 0, 0);
     UpPosition = new Vector3(10, 11, 10);
     Near = 1;
     Far = 500;
     Fov = MathUtilities.DegToRad(45);
     Aspect = float.NaN;
 }