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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user