Fixed CUDA compiler error in type_vec4.inl #504

master
Christophe Riccio ago%!(EXTRA string=9 years)
parent 1f71f6fb3a
commit affd5f3ba0
  1. 2
      glm/detail/func_common.inl
  2. 2
      glm/detail/func_geometric.inl
  3. 2
      glm/detail/func_integer.inl
  4. 2
      glm/detail/func_matrix.inl
  5. 2
      glm/detail/type_mat4x4.inl
  6. 2
      glm/detail/type_vec4.inl
  7. 7
      test/core/core_type_vec3.cpp

@ -734,6 +734,6 @@ namespace detail
} }
}//namespace glm }//namespace glm
#if GLM_ARCH != GLM_FORCE_PURE #if GLM_ARCH != GLM_ARCH_PURE
# include "func_common_simd.inl" # include "func_common_simd.inl"
#endif #endif

@ -171,6 +171,6 @@ namespace detail
} }
}//namespace glm }//namespace glm
#if GLM_ARCH != GLM_FORCE_PURE #if GLM_ARCH != GLM_ARCH_PURE
# include "func_geometric_simd.inl" # include "func_geometric_simd.inl"
#endif #endif

@ -359,7 +359,7 @@ namespace detail
} }
}//namespace glm }//namespace glm
#if GLM_ARCH != GLM_FORCE_PURE #if GLM_ARCH != GLM_ARCH_PURE
# include "func_integer_simd.inl" # include "func_integer_simd.inl"
#endif #endif

@ -279,7 +279,7 @@ namespace detail
} }
}//namespace glm }//namespace glm
#if GLM_ARCH != GLM_FORCE_PURE #if GLM_ARCH != GLM_ARCH_PURE
# include "func_matrix_simd.inl" # include "func_matrix_simd.inl"
#endif #endif

@ -759,6 +759,6 @@ namespace detail
} }
}//namespace glm }//namespace glm
#if GLM_ARCH != GLM_FORCE_PURE #if GLM_ARCH != GLM_ARCH_PURE
# include "type_mat4x4_simd.inl" # include "type_mat4x4_simd.inl"
#endif #endif

@ -1180,6 +1180,6 @@ namespace glm
} }
}//namespace glm }//namespace glm
#if GLM_ARCH != GLM_FORCE_PURE #if GLM_ARCH != GLM_ARCH_PURE
# include "type_vec4_simd.inl" # include "type_vec4_simd.inl"
#endif #endif

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

Loading…
Cancel
Save