Recep Aslantas
f82d570dec
take -pedantic into account to validate CGLM_USE_ANONYMOUS_STRUCT
2024-08-27 11:58:34 +03:00
Recep Aslantas
cb4a1b2677
Merge pull request #338 from EasyIP2023/feature/mat4x3
...
add new matrix mat4x3
2023-07-18 09:09:00 +03:00
Vincent Davis Jr
e9df003e56
types-struct: fix mat4x2s struct members
...
union mat4x2s { struct { } } contains
members with incorrect naming.
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-07-17 23:09:40 -04:00
Vincent Davis Jr
3d292c3a2e
add new matrix mat4x3
...
Initial function being
glm_mat4x3_make
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-07-17 22:57:52 -04:00
Vincent Davis Jr
2df26c0ecf
add new matrix mat4x2
...
Initial function being
glm_mat4x2_make
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-07-16 20:19:25 -04:00
Recep Aslantas
ef8954ccbc
Merge branch 'master' into feature/mat3x4
2023-07-16 23:31:33 +03:00
Vincent Davis Jr
82892085b3
docs: fix mat#x# comments and documentation
...
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-07-16 15:46:35 -04:00
Vincent Davis Jr
e09cf11f1c
add new matrix mat3x4
...
Initial function being
glm_mat3x4_make
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-07-16 15:41:36 -04:00
Vincent Davis Jr
4e44e74d48
add new matrix mat3x2
...
Initial function being
glm_mat3x2_make
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-07-15 18:48:50 -04:00
Vincent Davis Jr
fe7471e8f8
add new matrix mat2x4
...
Initial function being
glm_mat2x4_make
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-07-15 14:32:48 -04:00
Vincent Davis Jr
6317ed90e7
add new matrix mat2x3
...
Initial function being
glm_mat2x3_make
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-07-14 18:57:45 -04:00
Recep Aslantas
16fcaf7fc0
Update types-struct.h
2023-06-08 06:28:40 +03:00
Recep Aslantas
3a141b7cc8
extend unions for struct api
2022-01-06 18:12:46 +03:00
Recep Aslantas
5cd1a4ab44
add missing ivec types
2022-01-06 18:01:35 +03:00
Recep Aslantas
43ae3b332a
add tests for vec2 and its call version
2020-02-24 10:06:19 +03:00
Recep Aslantas
8a068c3291
Merge branch 'master' into vec2_mat2
2020-02-23 13:10:36 +03:00
Recep Aslantas
f8784ffe8a
win: enable anonymous structs for Visual Studio 2015 and later
2020-01-17 23:55:35 +03:00
Carsten Hartenfels
d89c01b39f
Intuit if we should use anonymous structs
...
Rather than making the user #define something explicitly, we can guess
based on the compiler type and C standard.
2019-11-24 16:02:12 -05:00
Carsten Hartenfels
c8211b3a62
Re-order struct type contents array-first
...
So that initializers will prefer the array entry, rather than trying to
initialize the anonymous struct.
2019-11-24 16:01:55 -05:00
Carsten Hartenfels
4b9b7aeb20
Add a vec2s struct type for consistency
...
There's a vec2 type, so there should probably be a struct version of it
too. Even if no functions use it right now, if a library user (like me)
needs a 2-element vector, they don't need to roll their own.
2019-11-23 14:37:48 -05:00
Recep Aslantas
3640e402da
mat2 struct version
2019-08-31 14:36:57 +03:00
Recep Aslantas
290f54bad4
struct: quaternion api as structs
2019-06-03 12:12:50 +03: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
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
1aa54dc110
- separating struct types into types-struct.h
...
- vec3s implementation
- fix style issues
2019-04-08 21:06:01 -05:00