public Camera(Math.Matrix projection) { _orientation = new Gk3Main.Math.Quaternion(); _position = new Gk3Main.Math.Vector3(); _projection = projection; }
public Camera(float fov, float aspect, float near, float far, bool zNegOne) { _orientation = new Gk3Main.Math.Quaternion(); _position = new Gk3Main.Math.Vector3(); _projection = Math.Matrix.PerspectiveLH(fov, aspect, near, far, zNegOne); _near = near; _far = far; }