mirror of
https://github.com/g-truc/glm.git
synced 2026-06-08 02:23:48 +00:00
Merge pull request #1312 from qbojj/patch-1
fix levels() calculation for scalars #1312
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user