Fixed ticket #27, missing inline

master
Christophe Riccio ago%!(EXTRA string=15 years)
parent c13515fb22
commit e93ca2c762
  1. 2
      glm/gtx/int_10_10_10_2.inl

@ -11,7 +11,7 @@ namespace glm{
namespace gtx{
namespace int_10_10_10_2
{
dword uint10_10_10_2_cast(glm::vec4 const & v)
inline dword uint10_10_10_2_cast(glm::vec4 const & v)
{
return dword(uint(v.x * 2047.f) << 0 | uint(v.y * 2047.f) << 10 | uint(v.z * 2047.f) << 20 | uint(v.w * 3.f) << 30);
}

Loading…
Cancel
Save