Simplify code removing GLM_FORCE_SIZE_FUNC, GLM_META_PROG_HELPERS, GLM_STATIC_CONST_MEMBERS and 'type' type trait. Added experiments for GTX_type_trait
This commit is contained in:
@@ -29,7 +29,6 @@
|
||||
/// @author Christophe Riccio
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#define GLM_STATIC_CONST_MEMBERS
|
||||
#include <glm/glm.hpp>
|
||||
#include <glm/gtc/matrix_transform.hpp>
|
||||
#include <glm/gtc/quaternion.hpp>
|
||||
@@ -266,15 +265,6 @@ int main()
|
||||
{
|
||||
int Error = 0;
|
||||
|
||||
#ifdef GLM_META_PROG_HELPERS
|
||||
assert(glm::simdMat4::rows == glm::simdMat4::row_type::components);
|
||||
assert(glm::simdMat4::cols == glm::simdMat4::col_type::components);
|
||||
|
||||
assert(glm::simdMat4::components == glm::simdMat4::pure_type::components);
|
||||
assert(glm::simdMat4::rows == glm::simdMat4::pure_row_type::components);
|
||||
assert(glm::simdMat4::cols == glm::simdMat4::pure_col_type::components);
|
||||
#endif
|
||||
|
||||
std::vector<glm::mat4> Data(64 * 64 * 1);
|
||||
for(std::size_t i = 0; i < Data.size(); ++i)
|
||||
Data[i] = glm::mat4(
|
||||
|
||||
Reference in New Issue
Block a user