Explorar o código

fix including headers, and suppress warnings

Recep Aslantas %!s(int64=4) %!d(string=hai) anos
pai
achega
a2bd00df32

+ 1 - 0
include/cglm/clipspace/ortho_lh_no.h

@@ -30,6 +30,7 @@
 
 #include "../common.h"
 #include "../plane.h"
+#include "../mat4.h"
 
 /*!
  * @brief set up orthographic projection matrix

+ 1 - 0
include/cglm/clipspace/ortho_lh_zo.h

@@ -30,6 +30,7 @@
 
 #include "../common.h"
 #include "../plane.h"
+#include "../mat4.h"
 
 /*!
  * @brief set up orthographic projection matrix with a left-hand coordinate

+ 1 - 0
include/cglm/clipspace/ortho_rh_no.h

@@ -30,6 +30,7 @@
 
 #include "../common.h"
 #include "../plane.h"
+#include "../mat4.h"
 
 /*!
  * @brief set up orthographic projection matrix

+ 1 - 0
include/cglm/clipspace/ortho_rh_zo.h

@@ -30,6 +30,7 @@
 
 #include "../common.h"
 #include "../plane.h"
+#include "../mat4.h"
 
 /*!
  * @brief set up orthographic projection matrix with a right-hand coordinate

+ 0 - 1
include/cglm/clipspace/persp_lh_no.h

@@ -47,7 +47,6 @@
 #define cglm_persp_lh_no_h
 
 #include "../common.h"
-#include "../plane.h"
 #include "persp.h"
 
 /*!

+ 0 - 1
include/cglm/clipspace/persp_lh_zo.h

@@ -47,7 +47,6 @@
 #define cglm_persp_lh_zo_h
 
 #include "../common.h"
-#include "../plane.h"
 #include "persp.h"
 
 /*!

+ 0 - 1
include/cglm/clipspace/persp_rh_no.h

@@ -47,7 +47,6 @@
 #define cglm_persp_rh_no_h
 
 #include "../common.h"
-#include "../plane.h"
 #include "persp.h"
 
 /*!

+ 0 - 1
include/cglm/clipspace/persp_rh_zo.h

@@ -47,7 +47,6 @@
 #define cglm_persp_rh_zo_h
 
 #include "../common.h"
-#include "../plane.h"
 #include "persp.h"
 
 /*!

+ 1 - 0
include/cglm/clipspace/view_lh_no.h

@@ -15,6 +15,7 @@
 #ifndef cglm_view_lh_no_h
 #define cglm_view_lh_no_h
 
+#include "../common.h"
 #include "view_lh.h"
 
 /*!

+ 1 - 0
include/cglm/clipspace/view_lh_zo.h

@@ -15,6 +15,7 @@
 #ifndef cglm_view_lh_zo_h
 #define cglm_view_lh_zo_h
 
+#include "../common.h"
 #include "view_lh.h"
 
 /*!

+ 1 - 0
include/cglm/clipspace/view_rh_no.h

@@ -15,6 +15,7 @@
 #ifndef cglm_view_rh_no_h
 #define cglm_view_rh_no_h
 
+#include "../common.h"
 #include "view_rh.h"
 
 /*!

+ 1 - 0
include/cglm/clipspace/view_rh_zo.h

@@ -15,6 +15,7 @@
 #ifndef cglm_view_rh_zo_h
 #define cglm_view_rh_zo_h
 
+#include "../common.h"
 #include "view_rh.h"
 
 /*!

+ 1 - 1
include/cglm/struct/quat.h

@@ -426,7 +426,7 @@ glms_quat_lerpc(versors from, versors to, float t) {
  * @param[in]   from  from
  * @param[in]   to    to
  * @param[in]   t     interpolant (amount)
- * @param[out]  dest  result quaternion
+ * @returns result quaternion
  */
 CGLM_INLINE
 versors

+ 1 - 1
src/clipspace/ortho_lh_no.c

@@ -5,8 +5,8 @@
  * Full license can be found in the LICENSE file
  */
 
-#include "../../include/cglm/cglm.h"
 #include "../../include/cglm/clipspace/ortho_lh_no.h"
+#include "../../include/cglm/call/clipspace/ortho_lh_no.h"
 
 CGLM_EXPORT
 void

+ 1 - 1
src/clipspace/ortho_lh_zo.c

@@ -5,8 +5,8 @@
  * Full license can be found in the LICENSE file
  */
 
-#include "../../include/cglm/cglm.h"
 #include "../../include/cglm/clipspace/ortho_lh_zo.h"
+#include "../../include/cglm/call/clipspace/ortho_lh_zo.h"
 
 CGLM_EXPORT
 void

+ 1 - 1
src/clipspace/ortho_rh_no.c

@@ -5,8 +5,8 @@
  * Full license can be found in the LICENSE file
  */
 
-#include "../../include/cglm/cglm.h"
 #include "../../include/cglm/clipspace/ortho_rh_no.h"
+#include "../../include/cglm/call/clipspace/ortho_rh_no.h"
 
 CGLM_EXPORT
 void

+ 1 - 1
src/clipspace/ortho_rh_zo.c

@@ -5,8 +5,8 @@
  * Full license can be found in the LICENSE file
  */
 
-#include "../../include/cglm/cglm.h"
 #include "../../include/cglm/clipspace/ortho_rh_zo.h"
+#include "../../include/cglm/call/clipspace/ortho_rh_zo.h"
 
 CGLM_EXPORT
 void

+ 1 - 0
src/clipspace/persp_lh_no.c

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

+ 1 - 0
src/clipspace/persp_lh_zo.c

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

+ 1 - 0
src/clipspace/persp_rh_no.c

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

+ 1 - 0
src/clipspace/persp_rh_zo.c

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

+ 1 - 0
src/clipspace/project_no.c

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

+ 1 - 0
src/clipspace/project_zo.c

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

+ 1 - 1
src/clipspace/view_lh_no.c

@@ -5,8 +5,8 @@
  * Full license can be found in the LICENSE file
  */
 
-#include "../../include/cglm/cglm.h"
 #include "../../include/cglm/clipspace/view_lh_no.h"
+#include "../../include/cglm/call/clipspace/view_lh_no.h"
 
 CGLM_EXPORT
 void

+ 1 - 1
src/clipspace/view_lh_zo.c

@@ -5,8 +5,8 @@
  * Full license can be found in the LICENSE file
  */
 
-#include "../../include/cglm/cglm.h"
 #include "../../include/cglm/clipspace/view_lh_zo.h"
+#include "../../include/cglm/call/clipspace/view_lh_zo.h"
 
 CGLM_EXPORT
 void

+ 1 - 1
src/clipspace/view_rh_no.c

@@ -5,8 +5,8 @@
  * Full license can be found in the LICENSE file
  */
 
-#include "../../include/cglm/cglm.h"
 #include "../../include/cglm/clipspace/view_rh_no.h"
+#include "../../include/cglm/call/clipspace/view_rh_no.h"
 
 CGLM_EXPORT
 void

+ 1 - 1
src/clipspace/view_rh_zo.c

@@ -5,8 +5,8 @@
  * Full license can be found in the LICENSE file
  */
 
-#include "../../include/cglm/cglm.h"
 #include "../../include/cglm/clipspace/view_rh_zo.h"
+#include "../../include/cglm/call/clipspace/view_rh_zo.h"
 
 CGLM_EXPORT
 void