mirror of
https://github.com/recp/cglm.git
synced 2025-12-26 02:25:02 +00:00
merge test sources into one C source
This commit is contained in:
43
test/src/tests.c
Normal file
43
test/src/tests.c
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c), Recep Aslantas.
|
||||
*
|
||||
* MIT License (MIT), http://opensource.org/licenses/MIT
|
||||
* Full license can be found in the LICENSE file
|
||||
*/
|
||||
|
||||
/* test inline */
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#define GLM_PREFIX glm_
|
||||
#define GLM(X) (glm_ ## X)
|
||||
|
||||
#include "test_vec3.h"
|
||||
#include "test_vec4.h"
|
||||
#include "test_mat3.h"
|
||||
#include "test_mat4.h"
|
||||
#include "test_quat.h"
|
||||
#include "test_project.h"
|
||||
#include "test_plane.h"
|
||||
|
||||
#undef GLM
|
||||
#undef GLM_PREFIX
|
||||
|
||||
/* test pre-compiled */
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
#define GLM_PREFIX glmc_
|
||||
#define GLM(X) (glmc_ ## X)
|
||||
|
||||
#include "test_vec3.h"
|
||||
#include "test_vec4.h"
|
||||
#include "test_mat3.h"
|
||||
#include "test_mat4.h"
|
||||
#include "test_quat.h"
|
||||
#include "test_project.h"
|
||||
#include "test_plane.h"
|
||||
|
||||
#undef GLM
|
||||
#undef GLM_PREFIX
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
Reference in New Issue
Block a user