mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e47cc22300 | ||
|
|
8aa80d3e9b | ||
|
|
f90d3f5faf |
13
autogen.sh
13
autogen.sh
@@ -6,12 +6,15 @@
|
|||||||
# Full license can be found in the LICENSE file
|
# Full license can be found in the LICENSE file
|
||||||
#
|
#
|
||||||
|
|
||||||
cd `dirname "$0"`
|
cd $(dirname "$0")
|
||||||
|
|
||||||
if [ "`uname`" = "Darwin" ]; then
|
if [ "$(uname)" = "Darwin" ]; then
|
||||||
libtoolBin=$(which glibtoolize)
|
libtoolBin=$(which glibtoolize)
|
||||||
libtoolBinDir=$(dirname "${libtoolBin}")
|
libtoolBinDir=$(dirname "${libtoolBin}")
|
||||||
ln -s $libtoolBin "${libtoolBinDir}/libtoolize"
|
|
||||||
|
if [ ! -f "${libtoolBinDir}/libtoolize" ]; then
|
||||||
|
ln -s $libtoolBin "${libtoolBinDir}/libtoolize"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
autoheader
|
autoheader
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
#*****************************************************************************
|
#*****************************************************************************
|
||||||
|
|
||||||
AC_PREREQ([2.69])
|
AC_PREREQ([2.69])
|
||||||
AC_INIT([cglm], [0.2.0], [info@recp.me])
|
AC_INIT([cglm], [0.2.1], [info@recp.me])
|
||||||
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
|
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
|
||||||
|
|
||||||
AC_CONFIG_MACRO_DIR([m4])
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
|
|||||||
@@ -13,6 +13,10 @@ extern "C" {
|
|||||||
|
|
||||||
#include "../cglm.h"
|
#include "../cglm.h"
|
||||||
|
|
||||||
|
/* DEPRECATED! use _copy, _ucopy versions */
|
||||||
|
#define glmc_mat4_udup(mat, dest) glmc_mat4_ucopy(mat, dest)
|
||||||
|
#define glmc_mat4_dup(mat, dest) glmc_mat4_copy(mat, dest)
|
||||||
|
|
||||||
CGLM_EXPORT
|
CGLM_EXPORT
|
||||||
void
|
void
|
||||||
glmc_mat4_ucopy(mat4 mat, mat4 dest);
|
glmc_mat4_ucopy(mat4 mat, mat4 dest);
|
||||||
|
|||||||
@@ -13,6 +13,9 @@ extern "C" {
|
|||||||
|
|
||||||
#include "../cglm.h"
|
#include "../cglm.h"
|
||||||
|
|
||||||
|
/* DEPRECATED! use _copy, _ucopy versions */
|
||||||
|
#define glmc_mat3_dup(mat, dest) glmc_mat3_copy(mat, dest)
|
||||||
|
|
||||||
CGLM_EXPORT
|
CGLM_EXPORT
|
||||||
void
|
void
|
||||||
glmc_mat3_copy(mat3 mat, mat3 dest);
|
glmc_mat3_copy(mat3 mat, mat3 dest);
|
||||||
|
|||||||
@@ -13,6 +13,11 @@ extern "C" {
|
|||||||
|
|
||||||
#include "../cglm.h"
|
#include "../cglm.h"
|
||||||
|
|
||||||
|
/* DEPRECATED! use _copy, _ucopy versions */
|
||||||
|
#define glmc_vec_dup(v, dest) glmc_vec_copy(v, dest)
|
||||||
|
#define glmc_vec4_dup3(v, dest) glmc_vec4_copy3(v, dest)
|
||||||
|
#define glmc_vec4_dup(v, dest) glmc_vec4_copy(v, dest)
|
||||||
|
|
||||||
CGLM_EXPORT
|
CGLM_EXPORT
|
||||||
void
|
void
|
||||||
glmc_vec_copy(vec3 a, vec3 dest);
|
glmc_vec_copy(vec3 a, vec3 dest);
|
||||||
|
|||||||
@@ -33,6 +33,10 @@
|
|||||||
#define GLM_MAT4_IDENTITY (mat4)GLM_MAT4_IDENTITY_INIT
|
#define GLM_MAT4_IDENTITY (mat4)GLM_MAT4_IDENTITY_INIT
|
||||||
#define GLM_MAT4_ZERO (mat4)GLM_MAT4_ZERO_INIT
|
#define GLM_MAT4_ZERO (mat4)GLM_MAT4_ZERO_INIT
|
||||||
|
|
||||||
|
/* DEPRECATED! use _copy, _ucopy versions */
|
||||||
|
#define glm_mat4_udup(mat, dest) glm_mat4_ucopy(mat, dest)
|
||||||
|
#define glm_mat4_dup(mat, dest) glm_mat4_copy(mat, dest)
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* @brief copy all members of [mat] to [dest]
|
* @brief copy all members of [mat] to [dest]
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -23,6 +23,9 @@
|
|||||||
#define GLM_MAT3_IDENTITY (mat3)GLM_MAT3_IDENTITY_INIT
|
#define GLM_MAT3_IDENTITY (mat3)GLM_MAT3_IDENTITY_INIT
|
||||||
#define GLM_MAT3_ZERO (mat3)GLM_MAT3_ZERO_INIT
|
#define GLM_MAT3_ZERO (mat3)GLM_MAT3_ZERO_INIT
|
||||||
|
|
||||||
|
/* DEPRECATED! use _copy, _ucopy versions */
|
||||||
|
#define glm_mat3_dup(mat, dest) glm_mat3_copy(mat, dest)
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* @brief copy all members of [mat] to [dest]
|
* @brief copy all members of [mat] to [dest]
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -18,6 +18,11 @@
|
|||||||
#include "arch/simd/cglm-intrin.h"
|
#include "arch/simd/cglm-intrin.h"
|
||||||
#include "cglm-util.h"
|
#include "cglm-util.h"
|
||||||
|
|
||||||
|
/* DEPRECATED! use _copy, _ucopy versions */
|
||||||
|
#define glm_vec_dup(v, dest) glm_vec_copy(v, dest)
|
||||||
|
#define glm_vec4_dup3(v, dest) glm_vec4_copy3(v, dest)
|
||||||
|
#define glm_vec4_dup(v, dest) glm_vec4_copy(v, dest)
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* @brief copy all members of [a] to [dest]
|
* @brief copy all members of [a] to [dest]
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -10,6 +10,6 @@
|
|||||||
|
|
||||||
#define CGLM_VERSION_MAJOR 0
|
#define CGLM_VERSION_MAJOR 0
|
||||||
#define CGLM_VERSION_MINOR 2
|
#define CGLM_VERSION_MINOR 2
|
||||||
#define CGLM_VERSION_PATCH 0
|
#define CGLM_VERSION_PATCH 1
|
||||||
|
|
||||||
#endif /* cglm_version_h */
|
#endif /* cglm_version_h */
|
||||||
|
|||||||
55
makefile.am
55
makefile.am
@@ -32,36 +32,41 @@ TESTS = $(check_PROGRAMS)
|
|||||||
test_test_mat4_LDFLAGS = $(checkLDFLAGS)
|
test_test_mat4_LDFLAGS = $(checkLDFLAGS)
|
||||||
test_test_mat4_CFLAGS = $(checkCFLAGS)
|
test_test_mat4_CFLAGS = $(checkCFLAGS)
|
||||||
|
|
||||||
nobase_include_HEADERS = include/cglm-version.h \
|
cglmdir=$(includedir)/cglm
|
||||||
include/cglm.h \
|
cglm_HEADERS = include/cglm-version.h \
|
||||||
include/cglm-call.h \
|
include/cglm.h \
|
||||||
include/cglm-cam.h \
|
include/cglm-call.h \
|
||||||
include/cglm-io.h \
|
include/cglm-cam.h \
|
||||||
include/cglm-mat3.h \
|
include/cglm-io.h \
|
||||||
include/cglm-types.h \
|
include/cglm-mat3.h \
|
||||||
include/cglm-common.h \
|
include/cglm-types.h \
|
||||||
include/cglm-affine.h \
|
include/cglm-common.h \
|
||||||
include/cglm-vec.h \
|
include/cglm-affine.h \
|
||||||
include/cglm-euler.h \
|
include/cglm-vec.h \
|
||||||
include/cglm-util.h \
|
include/cglm-euler.h \
|
||||||
include/cglm-quat.h \
|
include/cglm-util.h \
|
||||||
include/cglm-mat.h \
|
include/cglm-quat.h \
|
||||||
include/cglm-affine-mat.h \
|
include/cglm-mat.h \
|
||||||
include/arch/simd/cglm-mat-simd-avx.h \
|
include/cglm-affine-mat.h
|
||||||
|
|
||||||
|
cglm_arch_simddir=$(includedir)/cglm/arch/simd/
|
||||||
|
cglm_arch_simd_HEADERS = include/arch/simd/cglm-mat-simd-avx.h \
|
||||||
include/arch/simd/cglm-affine-mat-avx.h \
|
include/arch/simd/cglm-affine-mat-avx.h \
|
||||||
include/arch/simd/cglm-quat-simd.h \
|
include/arch/simd/cglm-quat-simd.h \
|
||||||
include/arch/simd/cglm-affine-mat-sse2.h \
|
include/arch/simd/cglm-affine-mat-sse2.h \
|
||||||
include/arch/simd/cglm-mat3-simd-sse2.h \
|
include/arch/simd/cglm-mat3-simd-sse2.h \
|
||||||
include/arch/simd/cglm-mat-simd-sse2.h \
|
include/arch/simd/cglm-mat-simd-sse2.h \
|
||||||
include/arch/simd/cglm-intrin.h \
|
include/arch/simd/cglm-intrin.h
|
||||||
include/call/cglmc-euler.h \
|
|
||||||
include/call/cglmc-quat.h \
|
cglm_calldir=$(includedir)/cglm/call
|
||||||
include/call/cglmc-cam.h \
|
cglm_call_HEADERS = include/call/cglmc-euler.h \
|
||||||
include/call/cglmc-io.h \
|
include/call/cglmc-quat.h \
|
||||||
include/call/cglmc-affine.h \
|
include/call/cglmc-cam.h \
|
||||||
include/call/cglmc-vec.h \
|
include/call/cglmc-io.h \
|
||||||
include/call/cglmc-mat3.h \
|
include/call/cglmc-affine.h \
|
||||||
include/call/cglmc-mat.h
|
include/call/cglmc-vec.h \
|
||||||
|
include/call/cglmc-mat3.h \
|
||||||
|
include/call/cglmc-mat.h
|
||||||
|
|
||||||
libcglm_la_SOURCES=\
|
libcglm_la_SOURCES=\
|
||||||
src/cglm-euler.c \
|
src/cglm-euler.c \
|
||||||
|
|||||||
@@ -192,6 +192,7 @@
|
|||||||
<ClInclude Include="..\include\cglm-util.h" />
|
<ClInclude Include="..\include\cglm-util.h" />
|
||||||
<ClInclude Include="..\include\cglm-vec-ext.h" />
|
<ClInclude Include="..\include\cglm-vec-ext.h" />
|
||||||
<ClInclude Include="..\include\cglm-vec.h" />
|
<ClInclude Include="..\include\cglm-vec.h" />
|
||||||
|
<ClInclude Include="..\include\cglm-version.h" />
|
||||||
<ClInclude Include="..\include\cglm.h" />
|
<ClInclude Include="..\include\cglm.h" />
|
||||||
<ClInclude Include="..\src\config.h" />
|
<ClInclude Include="..\src\config.h" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|||||||
@@ -120,6 +120,9 @@
|
|||||||
<ClInclude Include="..\src\config.h">
|
<ClInclude Include="..\src\config.h">
|
||||||
<Filter>src</Filter>
|
<Filter>src</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\include\cglm-version.h">
|
||||||
|
<Filter>include</Filter>
|
||||||
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\src\cglm-cam.c">
|
<ClCompile Include="..\src\cglm-cam.c">
|
||||||
|
|||||||
Reference in New Issue
Block a user