Removed epsilon value from camera

(bug fixed in DirectX-beef)
This commit is contained in:
Simon Lübeß
2021-04-09 19:08:23 +02:00
parent cd929080f4
commit a89657591f
@@ -87,9 +87,9 @@ namespace GlitchyEngine.Renderer
case .LimitedReversed:
_projection = Matrix.ReversedPerspectiveProjection(_fovY, _aspect, _nearPlane, _farPlane);
case .Infinite:
_projection = Matrix.InfinitePerspectiveProjection(_fovY, _aspect, _nearPlane, 10e-6f); // todo: epsilon
_projection = Matrix.InfinitePerspectiveProjection(_fovY, _aspect, _nearPlane);
case .InfiniteReversed:
_projection = Matrix.ReversedInfinitePerspectiveProjection(_fovY, _aspect, _nearPlane, 10e-6f); // todo: epsilon
_projection = Matrix.ReversedInfinitePerspectiveProjection(_fovY, _aspect, _nearPlane);
default:
Log.EngineLogger.Assert(false, "Unknown projection type.");
}