fix pre-compiled vector header and suppress warnings

This commit is contained in:
Recep Aslantas
2017-06-15 20:06:00 +03:00
parent 991833ab77
commit f6959b99c6
10 changed files with 16 additions and 8 deletions

View File

@@ -5,8 +5,8 @@
* Full license can be found in the LICENSE file * Full license can be found in the LICENSE file
*/ */
#ifndef glmc_euler_h #ifndef cglmc_euler_h
#define glmc_euler_h #define cglmc_euler_h
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@@ -48,4 +48,4 @@ glmc_euler_by_order(vec3 angles, glm_euler_sq axis, mat4 dest);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* glmc_euler_h */ #endif /* cglmc_euler_h */

View File

@@ -5,8 +5,8 @@
* Full license can be found in the LICENSE file * Full license can be found in the LICENSE file
*/ */
#ifndef cglm_vec_h #ifndef cglmc_vec_h
#define cglm_vec_h #define cglmc_vec_h
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@@ -116,7 +116,7 @@ glmc_vec4_flipsign(vec4 v);
CGLM_EXPORT CGLM_EXPORT
float float
glmc_vec_angle(vec3 v1, vec3 v2) glmc_vec_angle(vec3 v1, vec3 v2);
CGLM_EXPORT CGLM_EXPORT
void void
@@ -130,7 +130,7 @@ CGLM_EXPORT
void void
glmc_vec_proj(vec3 a, vec3 b, vec3 dest); glmc_vec_proj(vec3 a, vec3 b, vec3 dest);
CGLM_INLINE CGLM_EXPORT
void void
glmc_vec_center(vec3 v1, vec3 v2, vec3 dest); glmc_vec_center(vec3 v1, vec3 v2, vec3 dest);
@@ -145,4 +145,4 @@ glmc_vec4_distance(vec4 v1, vec4 v2);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* cglm_vec_h */ #endif /* cglmc_vec_h */

View File

@@ -6,6 +6,7 @@
*/ */
#include "../include/cglm.h" #include "../include/cglm.h"
#include "../include/cglm-call.h"
CGLM_EXPORT CGLM_EXPORT
void void

View File

@@ -6,6 +6,7 @@
*/ */
#include "../include/cglm.h" #include "../include/cglm.h"
#include "../include/cglm-call.h"
CGLM_EXPORT CGLM_EXPORT
void void

View File

@@ -6,6 +6,7 @@
*/ */
#include "../include/cglm.h" #include "../include/cglm.h"
#include "../include/cglm-call.h"
CGLM_EXPORT CGLM_EXPORT
void void

View File

@@ -6,6 +6,7 @@
*/ */
#include "../include/cglm.h" #include "../include/cglm.h"
#include "../include/cglm-call.h"
CGLM_EXPORT CGLM_EXPORT
void void

View File

@@ -6,6 +6,7 @@
*/ */
#include "../include/cglm.h" #include "../include/cglm.h"
#include "../include/cglm-call.h"
CGLM_EXPORT CGLM_EXPORT
void void

View File

@@ -6,6 +6,7 @@
*/ */
#include "../include/cglm.h" #include "../include/cglm.h"
#include "../include/cglm-call.h"
CGLM_EXPORT CGLM_EXPORT
void void

View File

@@ -6,6 +6,7 @@
*/ */
#include "../include/cglm.h" #include "../include/cglm.h"
#include "../include/cglm-call.h"
CGLM_EXPORT CGLM_EXPORT
void void

View File

@@ -6,6 +6,7 @@
*/ */
#include "../include/cglm.h" #include "../include/cglm.h"
#include "../include/cglm-call.h"
CGLM_EXPORT CGLM_EXPORT
void void