16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-17 23:39:18 +02:00

Merge pull request #109 from docentYT/fix-compilation-warnings

Fix compilation warnings
This commit is contained in:
2026-06-16 11:14:25 +02:00
committed by GitHub
23 changed files with 53 additions and 51 deletions

View File

@@ -604,7 +604,7 @@ std::pair<int, int> TSubModel::Load(cParser &parser, bool dynamic)
parser >> vertex->normal.x >> vertex->normal.y >> vertex->normal.z;
if (glm::length2(vertex->normal) > 0.0f)
{
glm::normalize(vertex->normal);
vertex->normal = glm::normalize(vertex->normal);
}
else
{