Add GLM_META_PROG_HELPERS tests to each type
- Add new tests to the matrix types - Add vector tests to use the static values instead of constants - Wrap the quaternion tests in #ifdefs - Add new tests to the simdMat4 and simdVec4 tests
This commit is contained in:
@@ -37,6 +37,11 @@
|
||||
|
||||
int main()
|
||||
{
|
||||
|
||||
#ifdef GLM_META_PROG_HELPERS
|
||||
assert(glm::simdVec4::components == glm::simdVec4::pure_type::components);
|
||||
#endif
|
||||
|
||||
glm::simdVec4 A1(0.0f, 0.1f, 0.2f, 0.3f);
|
||||
glm::simdVec4 B1(0.4f, 0.5f, 0.6f, 0.7f);
|
||||
glm::simdVec4 C1 = A1 + B1;
|
||||
|
||||
Reference in New Issue
Block a user