fix including headers, and suppress warnings

This commit is contained in:
Recep Aslantas
2021-08-16 15:51:52 +03:00
parent 4c8f7f310c
commit a2bd00df32
27 changed files with 23 additions and 13 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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