fixed iw engine

fixed source

revert
This commit is contained in:
2025-09-19 22:07:14 +03:00
parent 3df7d65ac1
commit 7fef690f5e
8 changed files with 228 additions and 11 deletions

View File

@@ -62,12 +62,13 @@ namespace omath::projection
{
}
protected:
void look_at(const Vector3<float>& target)
{
m_view_angles = TraitClass::calc_look_at_angle(m_origin, target);
m_view_projection_matrix = std::nullopt;
}
protected:
[[nodiscard]] Mat4X4Type calc_view_projection_matrix() const noexcept
{
return TraitClass::calc_projection_matrix(m_field_of_view, m_view_port, m_near_plane_distance,