mirror of
https://github.com/recp/cglm.git
synced 2025-10-04 01:00:46 +00:00
fix pre-compiled vector header and suppress warnings
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
* Full license can be found in the LICENSE file
|
||||
*/
|
||||
|
||||
#ifndef glmc_euler_h
|
||||
#define glmc_euler_h
|
||||
#ifndef cglmc_euler_h
|
||||
#define cglmc_euler_h
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@@ -48,4 +48,4 @@ glmc_euler_by_order(vec3 angles, glm_euler_sq axis, mat4 dest);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* glmc_euler_h */
|
||||
#endif /* cglmc_euler_h */
|
||||
|
@@ -5,8 +5,8 @@
|
||||
* Full license can be found in the LICENSE file
|
||||
*/
|
||||
|
||||
#ifndef cglm_vec_h
|
||||
#define cglm_vec_h
|
||||
#ifndef cglmc_vec_h
|
||||
#define cglmc_vec_h
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@@ -116,7 +116,7 @@ glmc_vec4_flipsign(vec4 v);
|
||||
|
||||
CGLM_EXPORT
|
||||
float
|
||||
glmc_vec_angle(vec3 v1, vec3 v2)
|
||||
glmc_vec_angle(vec3 v1, vec3 v2);
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
@@ -130,7 +130,7 @@ CGLM_EXPORT
|
||||
void
|
||||
glmc_vec_proj(vec3 a, vec3 b, vec3 dest);
|
||||
|
||||
CGLM_INLINE
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_vec_center(vec3 v1, vec3 v2, vec3 dest);
|
||||
|
||||
@@ -145,4 +145,4 @@ glmc_vec4_distance(vec4 v1, vec4 v2);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* cglm_vec_h */
|
||||
#endif /* cglmc_vec_h */
|
||||
|
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "../include/cglm.h"
|
||||
#include "../include/cglm-call.h"
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
|
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "../include/cglm.h"
|
||||
#include "../include/cglm-call.h"
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
|
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "../include/cglm.h"
|
||||
#include "../include/cglm-call.h"
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
|
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "../include/cglm.h"
|
||||
#include "../include/cglm-call.h"
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
|
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "../include/cglm.h"
|
||||
#include "../include/cglm-call.h"
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
|
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "../include/cglm.h"
|
||||
#include "../include/cglm-call.h"
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
|
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "../include/cglm.h"
|
||||
#include "../include/cglm-call.h"
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
|
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "../include/cglm.h"
|
||||
#include "../include/cglm-call.h"
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
|
Reference in New Issue
Block a user