Recep Aslantas
cb54a8b8c5
vec2: rotate vec2 by angle
2019-08-30 22:00:20 +03:00
Recep Aslantas
8cb6fa792c
Merge branch 'master' into vec2_mat2
2019-08-30 21:34:23 +03:00
Recep Aslantas
03fda193a5
vec: update docs for norm
2019-08-30 14:47:26 +03:00
Luigi Castelli
1d804781de
swapped argument order in glmm_store3() ( #102 )
...
close https://github.com/recp/cglm/issues/101
2019-08-26 16:37:44 +03:00
Luigi Castelli
144624962a
added glm_vec_fill() ( #100 )
...
* alternative name for _broadcast(): _fill()
2019-08-26 09:19:26 +03:00
Luigi Castelli
4639f3184a
glm_lerpc(), glm_step(), glm_smoothstep(), glm_smoothinterp() ( #98 )
...
* lerp, step, smoothstep
* glm_lerp() and friends are no longer clamped, use glm_lerpc() and friends
* mix() function as wrapper of lerp()
* no there are clamp and raw version of lerp functions
2019-08-25 22:17:36 +03:00
Luigi Castelli
43b36f1dc1
squared distance with SIMD support ( #96 )
...
squared distance for vec4
2019-08-23 10:32:54 +03:00
Recep Aslantas
ef89cd7236
Merge branch 'master' into vec2_mat2
2019-08-22 15:16:35 +03:00
Luigi Castelli
d03d4b8df5
new name for euler sequence ( #94 )
...
* new name for angle sequence
2019-08-21 22:52:01 +03:00
Recep Aslantas
a4c7c5e1ba
implement call version for mat2
2019-06-21 23:17:08 +03:00
Recep Aslantas
2827fbfa79
mat2, vec2: add missing functions
2019-06-20 22:51:51 +03:00
Recep Aslantas
ad823d9681
mat2: implement some mat2 func
...
* also implement as SSE
2019-06-19 23:35:38 +03:00
Recep Aslantas
2025b35757
struct: struct vesion of swizzle funcs
2019-06-06 13:18:31 +03:00
Recep Aslantas
1fdd459733
add tests for vector swizzling, rename vec to vec3
2019-06-06 13:12:17 +03:00
Recep Aslantas
f0be6eb448
Merge branch 'master' into swizzle
2019-06-06 12:58:55 +03:00
Recep Aslantas
047ed259ae
vec2: distance implementation
2019-06-04 19:03:31 +03:00
Recep Aslantas
3797c55154
fix test build, supress warnings, update header guards for struct api
2019-06-03 12:54:27 +03:00
Recep Aslantas
099239e3f5
rename cglms.h to struct.h
2019-06-03 12:29:36 +03:00
Recep Aslantas
9a73d969a7
struct: euler api as structs
2019-06-03 12:24:18 +03:00
Recep Aslantas
290f54bad4
struct: quaternion api as structs
2019-06-03 12:12:50 +03:00
Recep Aslantas
b9de553f23
quat: fix glm_quat_axis axis parameter type
2019-06-03 12:01:14 +03:00
Recep Aslantas
2b1126a2fc
code style
2019-06-03 09:47:52 +03:00
Recep Aslantas
b22170794a
struct: camera api as structs
2019-06-03 09:39:11 +03:00
Recep Aslantas
8affe9878f
Merge branch 'master' into cglm-structs
2019-05-25 09:13:47 +03:00
Recep Aslantas
f26601bfa7
now working on v0.6.0
2019-05-25 09:12:08 +03:00
acoto87
d322a0ba8f
Replace directly assignment with glm_vec{3,4}_copy functions
2019-05-22 16:24:11 -05:00
acoto87
ba2031d977
- Rename structs folder to struct
...
- Include files in `cglms.h`
- Fix style issues (tabs to spaces, open brace without newline)
2019-05-21 16:45:34 -05:00
acoto87
fd3b0634d2
Change for function that output multiple values
...
- Now the functions that output mutliple values, such as glms_decompose_rs and glms_decompose receive pointers.
- Added missing comments to struct/vec3 and struct/vec4 files.
2019-05-20 17:11:10 -05:00
acoto87
1d1bf8e91a
- Change the approach implementation of several functions
...
- Added `glms_vec4_pack` and `glms_vec4_unpack` to pack and unpack arrays of `vec4s`.
- Added `glms_vec3_pack` and `glms_vec3_unpack` to pack and unpack arrays of `vec3s`.
- Fixes in functions that accumulates in one parameter
-
2019-05-16 17:03:55 -05:00
Alejandro Coto Gutiérrez
f108bb4c71
Merge branch 'master' into cglm-structs
2019-05-08 10:10:10 -05:00
Recep Aslantas
2adb4c5593
use CGLM_ALIGN_MAT on mat4 typedef
2019-05-08 09:18:11 +03:00
Recep Aslantas
6fa5173cfd
now working on v0.5.5
2019-05-08 09:18:05 +03:00
acoto87
bc1969ab75
- Changes in mat3s and mat4s types.
...
- Added `ivec3s` type
- Struct implementation of: affine.h, box.h, color.h, curve.h, frutum.h, io.h, plane.h, project.h
- Deleted `glms_mat3_transpose_to` and `glms_mat4_transpose_to`
- Bug fixes in mat4.h
2019-05-07 16:16:00 -05:00
acoto87
3ff902de9c
add mat3 and mat4 implementation
2019-05-03 22:48:13 -05:00
acoto87
892a7c7dce
- add mat3, mat4, sphere.h
2019-04-30 22:08:17 -05:00
Alejandro Coto Gutiérrez
f04078dc33
Merge branch 'master' into cglm-structs
2019-04-30 14:58:02 -05:00
Recep Aslantas
f28260e20b
Merge branch 'master' into master
2019-04-30 10:16:55 +03:00
yushli
d232ab7865
Update quat.h
...
fix typo
2019-04-30 14:47:20 +08:00
Recep Aslantas
bb8ff25752
Revert "mark readonly parameters as const"
2019-04-30 08:19:07 +03:00
Recep Aslantas
392565f920
mark readonly parameters as const (continue)
2019-04-28 21:48:19 +03:00
Recep Aslantas
6ed275734b
mark readonly parameters as const
2019-04-28 12:15:43 +03:00
Wasin Thonkaew
461a4009ba
refactor vec4 : glm_vec4_distance for SSE/SSE2
...
According to suggestion by recp at
https://github.com/recp/cglm/issues/82#issuecomment-483051704 .
2019-04-19 02:07:57 +08:00
Wasin Thonkaew
8f2f2c5572
Fix to use armv7 compatible function for glm_vec4_distance
...
Before it used armv8 only function thus it leads to build failed for
Android with target of armv7 i.e. armeabi-v7a. This fixed that issue.
2019-04-19 01:47:50 +08:00
acoto87
1aa54dc110
- separating struct types into types-struct.h
...
- vec3s implementation
- fix style issues
2019-04-08 21:06:01 -05:00
Alejandro Coto Gutiérrez
1de8aeb940
Merge branch 'master' into cglm-structs
2019-04-08 19:17:52 -05:00
acoto87
c25469829a
Initial implementation of struct type vec4s
2019-04-03 22:25:49 -06:00
Recep Aslantas
81a74ba225
move 'stdbool.h' to common header, add missing common.h header to public headers
2019-03-31 18:58:20 +03:00
Recep Aslantas
6c0c5167b0
docs: fix some parameter docs
2019-03-31 18:53:31 +03:00
Recep Aslantas
0729fd40a4
implement vec2
2019-03-31 18:50:52 +03:00
Alejandro Coto Gutiérrez
4c5451994f
Include stddef.h to ensure size_t and other dependent types ( #79 )
2019-03-29 08:54:09 +03:00