fix levels() calculation for scalars

This commit is contained in:
Janeczko Jakub 2024-09-09 02:27:13 +02:00 committed by GitHub
parent 33b4a621a6
commit 23551ae74e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,7 +11,7 @@ namespace glm
template <typename T>
inline T levels(T Extent)
{
return vec<1, T, defaultp>(Extent).x;
return levels(vec<1, T, defaultp>(Extent));
}
}//namespace glm