Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/source/call.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ It would be duplicate documentation also it
would be hard to sync documentation between inline and call version for me.

By including **clgm/cglm.h** you include all inline versions. To get precompiled
versions you need to include **cglm/call.h** header it also includes all
call versions plus *clgm/cglm.h* (inline versions)
versions you need to include **cglm/call.h** header. When using the
precompiled versions, explicitly including **cglm/cglm.h** is still necessary
for the inline versions to be included.
1 change: 0 additions & 1 deletion include/cglm/call.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
extern "C" {
#endif

#include "cglm.h"
#include "call/vec2.h"
#include "call/vec3.h"
#include "call/vec4.h"
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/aabb2d.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../cglm.h"
#include "../common.h"

/* DEPRECATED! use _diag */
#define glmc_aabb2d_size(aabb) glmc_aabb2d_diag(aabb)
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/affine.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../cglm.h"
#include "../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/affine2d.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../cglm.h"
#include "../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/bezier.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../cglm.h"
#include "../common.h"

CGLM_EXPORT
float
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/box.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../cglm.h"
#include "../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/cam.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../cglm.h"
#include "../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/clipspace/ortho_lh_no.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../../cglm.h"
#include "../../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/clipspace/ortho_lh_zo.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../../cglm.h"
#include "../../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/clipspace/ortho_rh_no.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../../cglm.h"
#include "../../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/clipspace/ortho_rh_zo.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../../cglm.h"
#include "../../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/clipspace/persp_lh_no.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../../cglm.h"
#include "../../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/clipspace/persp_lh_zo.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../../cglm.h"
#include "../../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/clipspace/persp_rh_no.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../../cglm.h"
#include "../../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/clipspace/persp_rh_zo.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../../cglm.h"
#include "../../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/clipspace/project_no.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../../cglm.h"
#include "../../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/clipspace/project_zo.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../../cglm.h"
#include "../../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/clipspace/view_lh_no.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../../cglm.h"
#include "../../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/clipspace/view_lh_zo.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../../cglm.h"
#include "../../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/clipspace/view_rh_no.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../../cglm.h"
#include "../../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/clipspace/view_rh_zo.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../../cglm.h"
#include "../../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/curve.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../cglm.h"
#include "../common.h"

CGLM_EXPORT
float
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/ease.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../cglm.h"
#include "../common.h"

CGLM_EXPORT
float
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/euler.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../cglm.h"
#include "../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/frustum.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../cglm.h"
#include "../common.h"

CGLM_EXPORT
void
Expand Down
3 changes: 2 additions & 1 deletion include/cglm/call/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
extern "C" {
#endif

#include "../cglm.h"
#include "../common.h"
#include <stdio.h>

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/ivec2.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../cglm.h"
#include "../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/ivec3.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../cglm.h"
#include "../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/ivec4.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../cglm.h"
#include "../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/mat2.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../cglm.h"
#include "../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/mat2x3.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../cglm.h"
#include "../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/mat2x4.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../cglm.h"
#include "../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/mat3.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../cglm.h"
#include "../common.h"

/* DEPRECATED! use _copy, _ucopy versions */
#define glmc_mat3_dup(mat, dest) glmc_mat3_copy(mat, dest)
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/mat3x2.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../cglm.h"
#include "../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/mat3x4.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../cglm.h"
#include "../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/mat4.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../cglm.h"
#include "../common.h"

/* DEPRECATED! use _copy, _ucopy versions */
#define glmc_mat4_udup(mat, dest) glmc_mat4_ucopy(mat, dest)
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/mat4x2.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../cglm.h"
#include "../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/mat4x3.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../cglm.h"
#include "../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/noise.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../cglm.h"
#include "../common.h"

CGLM_EXPORT
float
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/plane.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../cglm.h"
#include "../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/project.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../cglm.h"
#include "../common.h"

CGLM_EXPORT
void
Expand Down
2 changes: 1 addition & 1 deletion include/cglm/call/quat.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#include "../cglm.h"
#include "../common.h"

CGLM_EXPORT
void
Expand Down
3 changes: 2 additions & 1 deletion include/cglm/call/ray.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
#ifdef __cplusplus
extern "C" {
#endif
#include "../cglm.h"

#include "../common.h"

CGLM_EXPORT
bool
Expand Down
Loading