Fixed CUDA compiler error in type_vec4.inl #504

This commit is contained in:
Christophe Riccio
2016-05-04 16:35:57 +02:00
parent 1f71f6fb3a
commit affd5f3ba0
7 changed files with 13 additions and 6 deletions

View File

@@ -113,6 +113,13 @@ int test_vec3_ctor()
return Error;
}
float foo()
{
glm::vec3 bar = glm::vec3(0.0f, 1.0f, 1.0f);
return glm::length(bar);
}
int test_vec3_operators()
{
int Error = 0;