Merge pull request #1032 from gottfriedleibniz/patch-scalebias

fix: scalebias #1032
master
Christophe ago%!(EXTRA string=5 years) committed by GitHub
commit cc34bc7d49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      glm/gtx/transform2.inl

@ -119,7 +119,7 @@ namespace glm
template<typename T, qualifier Q> template<typename T, qualifier Q>
GLM_FUNC_QUALIFIER mat<4, 4, T, Q> scaleBias(mat<4, 4, T, Q> const& m, T scale, T bias) GLM_FUNC_QUALIFIER mat<4, 4, T, Q> scaleBias(mat<4, 4, T, Q> const& m, T scale, T bias)
{ {
return m * scaleBias(scale, bias); return m * scaleBias<T, Q>(scale, bias);
} }
}//namespace glm }//namespace glm

Loading…
Cancel
Save