mirror of
https://github.com/recp/cglm.git
synced 2025-10-04 17:09:40 +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
|
* 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 */
|
||||||
|
@@ -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 */
|
||||||
|
@@ -6,6 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../include/cglm.h"
|
#include "../include/cglm.h"
|
||||||
|
#include "../include/cglm-call.h"
|
||||||
|
|
||||||
CGLM_EXPORT
|
CGLM_EXPORT
|
||||||
void
|
void
|
||||||
|
@@ -6,6 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../include/cglm.h"
|
#include "../include/cglm.h"
|
||||||
|
#include "../include/cglm-call.h"
|
||||||
|
|
||||||
CGLM_EXPORT
|
CGLM_EXPORT
|
||||||
void
|
void
|
||||||
|
@@ -6,6 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../include/cglm.h"
|
#include "../include/cglm.h"
|
||||||
|
#include "../include/cglm-call.h"
|
||||||
|
|
||||||
CGLM_EXPORT
|
CGLM_EXPORT
|
||||||
void
|
void
|
||||||
|
@@ -6,6 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../include/cglm.h"
|
#include "../include/cglm.h"
|
||||||
|
#include "../include/cglm-call.h"
|
||||||
|
|
||||||
CGLM_EXPORT
|
CGLM_EXPORT
|
||||||
void
|
void
|
||||||
|
@@ -6,6 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../include/cglm.h"
|
#include "../include/cglm.h"
|
||||||
|
#include "../include/cglm-call.h"
|
||||||
|
|
||||||
CGLM_EXPORT
|
CGLM_EXPORT
|
||||||
void
|
void
|
||||||
|
@@ -6,6 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../include/cglm.h"
|
#include "../include/cglm.h"
|
||||||
|
#include "../include/cglm-call.h"
|
||||||
|
|
||||||
CGLM_EXPORT
|
CGLM_EXPORT
|
||||||
void
|
void
|
||||||
|
@@ -6,6 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../include/cglm.h"
|
#include "../include/cglm.h"
|
||||||
|
#include "../include/cglm-call.h"
|
||||||
|
|
||||||
CGLM_EXPORT
|
CGLM_EXPORT
|
||||||
void
|
void
|
||||||
|
@@ -6,6 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../include/cglm.h"
|
#include "../include/cglm.h"
|
||||||
|
#include "../include/cglm-call.h"
|
||||||
|
|
||||||
CGLM_EXPORT
|
CGLM_EXPORT
|
||||||
void
|
void
|
||||||
|
Reference in New Issue
Block a user