mirror of
https://github.com/recp/cglm.git
synced 2025-10-04 09:08:53 +00:00
fix including headers, and suppress warnings
This commit is contained in:
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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"
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@@ -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"
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@@ -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"
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@@ -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"
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@@ -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"
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@@ -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"
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@@ -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"
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@@ -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"
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user