Fixed vec1 test

master
Christophe Riccio ago%!(EXTRA string=8 years)
parent 9443d8d9ca
commit f2cb4a3fdf
  1. 5
      test/core/core_type_vec1.cpp

@ -107,7 +107,7 @@ int test_vec1_size()
Error += glm::dvec1::length() == 1 ? 0 : 1;
# if GLM_HAS_CONSTEXPR_PARTIAL
constexpr std::size_t Length = glm::vec2::length();
constexpr std::size_t Length = glm::vec1::length();
Error += Length == 1 ? 0 : 1;
# endif
@ -145,9 +145,6 @@ int main()
{
int Error = 0;
glm::vec1 v;
assert(v.length() == 1);
Error += test_vec1_size();
Error += test_vec1_ctor();
Error += test_vec1_operators();

Loading…
Cancel
Save