mirror of
https://github.com/g-truc/glm.git
synced 2025-04-10 23:31:51 +00:00
Avoid "implicit conversion increases floating-point precision: 'float' to 'double'"
This commit is contained in:
parent
2d4c4b4dd3
commit
bd192a3955
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ namespace detail
|
|||
template<int c>
|
||||
GLM_FUNC_QUALIFIER GLM_CONSTEXPR static vec<L, T, Q> call(vec<L, T, Q> const& a)
|
||||
{
|
||||
vec<L, T, Q> v(0.0f);
|
||||
vec<L, T, Q> v(0);
|
||||
for (int i = 0; i < L; ++i)
|
||||
v[i] = a[c];
|
||||
return v;
|
||||
|
|
Loading…
Add table
Reference in a new issue