Move noise, random and ulp test to GTC tests
This commit is contained in:
@@ -9,3 +9,4 @@ glmCreateTestGTC(gtc_random)
|
||||
glmCreateTestGTC(gtc_swizzle)
|
||||
glmCreateTestGTC(gtc_type_precision)
|
||||
glmCreateTestGTC(gtc_type_ptr)
|
||||
glmCreateTestGTC(gtc_ulp)
|
||||
|
||||
@@ -4,11 +4,9 @@ glmCreateTestGTC(gtx_integer)
|
||||
glmCreateTestGTC(gtx_matrix_query)
|
||||
glmCreateTestGTC(gtx_noise)
|
||||
glmCreateTestGTC(gtx_quaternion)
|
||||
glmCreateTestGTC(gtx_random)
|
||||
glmCreateTestGTC(gtx_rotate_vector)
|
||||
glmCreateTestGTC(gtx_simd_vec4)
|
||||
glmCreateTestGTC(gtx_simd_mat4)
|
||||
glmCreateTestGTC(gtx_string_cast)
|
||||
glmCreateTestGTC(gtx_ulp)
|
||||
glmCreateTestGTC(gtx_vector_angle)
|
||||
glmCreateTestGTC(gtx_vector_query)
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <glm/glm.hpp>
|
||||
#include <glm/gtc/matrix_transform.hpp>
|
||||
#include <glm/gtc/quaternion.hpp>
|
||||
#include <glm/gtx/random.hpp>
|
||||
#include <glm/gtc/random.hpp>
|
||||
#include <glm/gtx/simd_vec4.hpp>
|
||||
#include <glm/gtx/simd_mat4.hpp>
|
||||
#include <iostream>
|
||||
@@ -238,10 +238,10 @@ int main()
|
||||
std::vector<glm::mat4> Data(64 * 64 * 1);
|
||||
for(std::size_t i = 0; i < Data.size(); ++i)
|
||||
Data[i] = glm::mat4(
|
||||
glm::vec4(glm::compRand4(-2.0f, 2.0f)),
|
||||
glm::vec4(glm::compRand4(-2.0f, 2.0f)),
|
||||
glm::vec4(glm::compRand4(-2.0f, 2.0f)),
|
||||
glm::vec4(glm::compRand4(-2.0f, 2.0f)));
|
||||
glm::vec4(glm::linearRand(glm::vec4(-2.0f), glm::vec4(2.0f))),
|
||||
glm::vec4(glm::linearRand(glm::vec4(-2.0f), glm::vec4(2.0f))),
|
||||
glm::vec4(glm::linearRand(glm::vec4(-2.0f), glm::vec4(2.0f))),
|
||||
glm::vec4(glm::linearRand(glm::vec4(-2.0f), glm::vec4(2.0f))));
|
||||
|
||||
{
|
||||
std::vector<glm::mat4> TestInvA;
|
||||
|
||||
Reference in New Issue
Block a user