예제 #1
0
int main()
{
    int Error = 0;

    Error += test_vec3_ctor();
    Error += test_vec3_operators();
    Error += test_vec3_size();
    Error += test_vec3_swizzle3_2();
    Error += test_vec3_swizzle3_3();
    Error += test_vec3_swizzle_partial();
    Error += test_vec3_swizzle_operators();
    Error += test_vec3_swizzle_functions();
    Error += test_operator_increment();

    return Error;
}
int main()
{
	int Error = 0;

	glm::vec3 v;
	assert(v.length() == 3);

	Error += test_vec3_ctor();
	Error += test_vec3_operators();
	Error += test_vec3_size();
	Error += test_vec3_swizzle3_2();
	Error += test_vec3_swizzle3_3();
	Error += test_vec3_swizzle_partial();
	Error += test_vec3_swizzle_operators();
	Error += test_vec3_swizzle_functions();
	Error += test_operator_increment();

	return Error;
}