Пример #1
0
 public Matrix4x4 GetRightAnaglyphProjectionMatrix()
 {
     return(MyMatrix4x4.CreateAnaglyphicPerspectiveFieldOfView(_fov, _aspect, _near, _far, -EyeDistance / 2, ViewportDistance));
 }
Пример #2
0
 public Matrix4x4 GetProjectionMatrix()
 {
     return(MyMatrix4x4.CreatePerspectiveFieldOfView(_fov, _aspect, _near, _far));
 }