mirror of
https://github.com/g-truc/glm.git
synced 2024-11-22 08:54:35 +00:00
fix levels() calculation for scalars
This commit is contained in:
parent
33b4a621a6
commit
23551ae74e
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user