mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
improved camera
This commit is contained in:
@@ -39,7 +39,7 @@ namespace omath::unity_engine
|
||||
{1.f / (aspectRatio * fovHalfTan), 0, 0, 0},
|
||||
{0, 1.f / (fovHalfTan), 0, 0},
|
||||
{0, 0, (far + near) / (far - near), -(2.f * far * near) / (far - near)},
|
||||
{0, 0, 1.f, 0},
|
||||
{0, 0, -1.f, 0},
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user