fixed naming

This commit is contained in:
2024-09-03 21:46:32 +03:00
parent f0d4e60ce0
commit 7928cfa126
3 changed files with 4 additions and 5 deletions

View File

@@ -350,10 +350,10 @@ namespace omath
};
}
Matrix Matrix::ProjectionMatrix(const float fielOfView, const float aspectRatio, const float near,
Matrix Matrix::ProjectionMatrix(const float fieldOfView, const float aspectRatio, const float near,
const float far)
{
const float fovHalfTan = std::tan(angles::DegreesToRadians(fielOfView) / 2.f);
const float fovHalfTan = std::tan(angles::DegreesToRadians(fieldOfView) / 2.f);
return
{

View File

@@ -3,10 +3,9 @@
//
#include "omath/Vector4.h"
#include <algorithm>
#include <cmath>
namespace omath
{