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