int main() { int Error = 0; Error += test_vec1_size(); Error += test_vec1_ctor(); Error += test_bvec1_ctor(); Error += test_vec1_operators(); Error += test_vec1_operator_increment(); Error += test_constexpr(); return Error; }
int main() { int Error = 0; glm::vec1 v; assert(v.length() == 1); Error += test_vec1_size(); Error += test_vec1_ctor(); Error += test_vec1_operators(); Error += test_vec1_operator_increment(); return Error; }
int main() { int Error = 0; glm::vec1 v; assert(v.length() == 1); # ifdef GLM_META_PROG_HELPERS assert(glm::vec1::components == glm::vec1().length()); assert(glm::vec1::components == 1); # endif Error += test_vec1_size(); Error += test_vec1_ctor(); Error += test_vec1_operators(); Error += test_vec1_operator_increment(); return Error; }