mirror of
https://github.com/Kbz-8/42_vox.git
synced 2026-01-13 07:33:35 +00:00
fixing camera FOV issue
This commit is contained in:
@@ -776,7 +776,7 @@ namespace Scop
|
||||
{
|
||||
angle /= T(2.0);
|
||||
|
||||
T yScale = angle.GetTan();
|
||||
T yScale = std::abs(angle.GetTan());
|
||||
|
||||
return Mat4(
|
||||
T(1.0) / (ratio * yScale), T(0.0), T(0.0), T(0.0),
|
||||
|
||||
Reference in New Issue
Block a user