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; }
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; }
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; }