int main() { int Error = 0; Error += test_vec2_size(); Error += test_vec2_ctor(); Error += test_vec2_operators(); return Error; }
int main() { int Error = 0; glm::vec2 v; assert(v.length() == 2); Error += test_vec2_size(); Error += test_vec2_ctor(); Error += test_vec2_operators(); Error += test_operator_increment(); return Error; }
int main() { int Error = 0; glm::vec2 v; assert(v.length() == 2); # ifdef GLM_META_PROG_HELPERS assert(glm::vec2::components == glm::vec2().length()); assert(glm::vec2::components == 2); # endif Error += test_vec2_size(); Error += test_vec2_ctor(); Error += test_vec2_operators(); Error += test_operator_increment(); return Error; }
int main() { int Error = 0; Error += test_vec1_ctor(); Error += test_vec2_ctor(); Error += test_vec3_ctor(); Error += test_vec4_ctor(); Error += test_mat2x2_ctor(); Error += test_mat2x3_ctor(); Error += test_mat2x4_ctor(); Error += test_mat3x2_ctor(); Error += test_mat3x3_ctor(); Error += test_mat3x4_ctor(); Error += test_mat4x2_ctor(); Error += test_mat4x3_ctor(); Error += test_mat4x4_ctor(); Error += test_quat_ctor(); return Error; }