Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/recp/cglm
📽 Highly Optimized 2D / 3D Graphics Math (glm) for C
https://github.com/recp/cglm
transpose inverse
f280d3675eb7102520c2e6e2b99a3292e24ae5c0 authored over 8 years ago by Recep Aslantas <[email protected]>
f280d3675eb7102520c2e6e2b99a3292e24ae5c0 authored over 8 years ago by Recep Aslantas <[email protected]>
quaternions
6c0cfe310a67a6ccb1a0088c258c10cc7183b708 authored over 8 years ago by Recep Aslantas <[email protected]>
6c0cfe310a67a6ccb1a0088c258c10cc7183b708 authored over 8 years ago by Recep Aslantas <[email protected]>
frustum, ortho and perspective functions
5a28f2ec600f19c9209d31a1b4334df1e173faaf authored over 8 years ago by Recep Aslantas <[email protected]>
5a28f2ec600f19c9209d31a1b4334df1e173faaf authored over 8 years ago by Recep Aslantas <[email protected]>
cpp: fix array initializer must be an initializer list
146dbe46561bf82a3ade86333d12b54310ea4970 authored over 8 years ago by Recep Aslantas <[email protected]>
146dbe46561bf82a3ade86333d12b54310ea4970 authored over 8 years ago by Recep Aslantas <[email protected]>
align vec4/mat4 to 16 in typedef
2366e3b85a565af0732d7c6e4308317efa04f89a authored over 8 years ago by Recep Aslantas <[email protected]>
2366e3b85a565af0732d7c6e4308317efa04f89a authored over 8 years ago by Recep Aslantas <[email protected]>
fix fn calls
d4c6ae350feb29a27035087923f9184e3c969e77 authored over 8 years ago by Recep Aslantas <[email protected]>
d4c6ae350feb29a27035087923f9184e3c969e77 authored over 8 years ago by Recep Aslantas <[email protected]>
rename and cast mat4x4 id
6046d0cddecea8acbf1a5aeb44e696e41024ebde authored over 8 years ago by Recep Aslantas <[email protected]>
6046d0cddecea8acbf1a5aeb44e696e41024ebde authored over 8 years ago by Recep Aslantas <[email protected]>
use self as default
0b0a74e9bf12babb681f6d9fe7778a40077cc777 authored over 8 years ago by Recep Aslantas <[email protected]>
0b0a74e9bf12babb681f6d9fe7778a40077cc777 authored over 8 years ago by Recep Aslantas <[email protected]>
rename mat4 functions
4d171c8758642ca5e8a312de806005b5798d3382 authored over 8 years ago by Recep Aslantas <[email protected]>
4d171c8758642ca5e8a312de806005b5798d3382 authored over 8 years ago by Recep Aslantas <[email protected]>
matrix determinant sse2
ab58ae76eb88cf1dcac511246339b888d85ce663 authored over 8 years ago by Recep Aslantas <[email protected]>
ab58ae76eb88cf1dcac511246339b888d85ce663 authored over 8 years ago by Recep Aslantas <[email protected]>
remove unused variable
6b017b14b34b73f5f4af388b1f9612aa4683d730 authored over 8 years ago by Recep Aslantas <[email protected]>
6b017b14b34b73f5f4af388b1f9612aa4683d730 authored over 8 years ago by Recep Aslantas <[email protected]>
improve mat4x4 inverse SIMD
a60e1a741f5702c9f0cd3c94a27ccf5de2edec7c authored over 8 years ago by Recep Aslantas <[email protected]>
a60e1a741f5702c9f0cd3c94a27ccf5de2edec7c authored over 8 years ago by Recep Aslantas <[email protected]>
optimize matrix4x4 inverse for SSE2
253f5ba5f6e654607765365c5b3417158e129c95 authored over 8 years ago by Recep Aslantas <[email protected]>
253f5ba5f6e654607765365c5b3417158e129c95 authored over 8 years ago by Recep Aslantas <[email protected]>
Update README.md
55c1f93388fa7831d8639654599e187cd9ffe135 authored over 8 years ago by Recep Aslantas <[email protected]>
55c1f93388fa7831d8639654599e187cd9ffe135 authored over 8 years ago by Recep Aslantas <[email protected]>
use non-SIMD scale version for non-SIMD inverse
* this way is faster, probably mixing manual SSE with compiler result
causes cache misses
Create README.md
8a083c48738c5fbd0bb55d343a00324ce973726c authored over 8 years ago by Recep Aslantas <[email protected]>
8a083c48738c5fbd0bb55d343a00324ce973726c authored over 8 years ago by Recep Aslantas <[email protected]>
4x4 matrix inverse (non-SIMD)
2ff2c4710b02a80fcf9535a3fd58dae7a45f3dee authored over 8 years ago by Recep Aslantas <[email protected]>
2ff2c4710b02a80fcf9535a3fd58dae7a45f3dee authored over 8 years ago by Recep Aslantas <[email protected]>
matrix scale
6c5143313e7c7dbae821a59421e62eb33ac61073 authored over 8 years ago by Recep Aslantas <[email protected]>
6c5143313e7c7dbae821a59421e62eb33ac61073 authored over 8 years ago by Recep Aslantas <[email protected]>
mat4 non-simd determinant
602b487b53026a22d57d93c5b08d45e13ae912fc authored over 8 years ago by Recep Aslantas <[email protected]>
602b487b53026a22d57d93c5b08d45e13ae912fc authored over 8 years ago by Recep Aslantas <[email protected]>
optimize slerp with SSE
c26c1d770728705f05f1391b029872baa9d9195c authored over 8 years ago by Recep Aslantas <[email protected]>
c26c1d770728705f05f1391b029872baa9d9195c authored over 8 years ago by Recep Aslantas <[email protected]>
print fn for vectors
5825c24e8feba1f27749c878bc57d3372f4303f9 authored over 8 years ago by Recep Aslantas <[email protected]>
5825c24e8feba1f27749c878bc57d3372f4303f9 authored over 8 years ago by Recep Aslantas <[email protected]>
versor
2e9894b816f007402a72db56f824770cd4bc3c88 authored over 8 years ago by Recep Aslantas <[email protected]>
2e9894b816f007402a72db56f824770cd4bc3c88 authored over 8 years ago by Recep Aslantas <[email protected]>
optimize individual translates
e90f6b505db93f734275f1cfff7c6da9560862c4 authored over 8 years ago by Recep Aslantas <[email protected]>
e90f6b505db93f734275f1cfff7c6da9560862c4 authored over 8 years ago by Recep Aslantas <[email protected]>
optimize affine translate with SSE
c48026746350920966aff76f12cf24970f001204 authored over 8 years ago by Recep Aslantas <[email protected]>
c48026746350920966aff76f12cf24970f001204 authored over 8 years ago by Recep Aslantas <[email protected]>
use float for math funcs
7ef105bab045cdb5e97cf02defec9795ad034cdc authored over 8 years ago by Recep Aslantas <[email protected]>
7ef105bab045cdb5e97cf02defec9795ad034cdc authored over 8 years ago by Recep Aslantas <[email protected]>
optimize vec4 with SIMD (SSE)
705a4bb9a03500d4c59a30b268e38a8f32abafec authored over 8 years ago by Recep Aslantas <[email protected]>
705a4bb9a03500d4c59a30b268e38a8f32abafec authored over 8 years ago by Recep Aslantas <[email protected]>
fix vector types
b957509c9e1d04c0b7609340c80fd570e6389114 authored over 8 years ago by Recep Aslantas <[email protected]>
b957509c9e1d04c0b7609340c80fd570e6389114 authored over 8 years ago by Recep Aslantas <[email protected]>
drop _self postfix from normalize
f7e7bffe11c130e413fbdb6850c62cc673cd0ca8 authored over 8 years ago by Recep Aslantas <[email protected]>
f7e7bffe11c130e413fbdb6850c62cc673cd0ca8 authored over 8 years ago by Recep Aslantas <[email protected]>
fix vec3/vec4 usage
1b3e07898f67594b4d57343de2c5c9850253aa69 authored over 8 years ago by Recep Aslantas <[email protected]>
1b3e07898f67594b4d57343de2c5c9850253aa69 authored over 8 years ago by Recep Aslantas <[email protected]>
fix fn call
18a12763d0c7bf5a847887a456c250dbf06362ac authored over 8 years ago by Recep Aslantas <[email protected]>
18a12763d0c7bf5a847887a456c250dbf06362ac authored over 8 years ago by Recep Aslantas <[email protected]>
fix affine scale
5ef29b76e26b231300c88f91e92b5e97baa17a0d authored over 8 years ago by Recep Aslantas <[email protected]>
5ef29b76e26b231300c88f91e92b5e97baa17a0d authored over 8 years ago by Recep Aslantas <[email protected]>
use g-truc glm style translate, make _self default
fbbc76e705136af949718204f27f28b517e6d9b4 authored over 8 years ago by Recep Aslantas <[email protected]>
fbbc76e705136af949718204f27f28b517e6d9b4 authored over 8 years ago by Recep Aslantas <[email protected]>
vector ops
96c3bcb2f6ecdf0490cdff77abe663485cb719e5 authored over 8 years ago by Recep Aslantas <[email protected]>
96c3bcb2f6ecdf0490cdff77abe663485cb719e5 authored over 8 years ago by Recep Aslantas <[email protected]>
get memcpy type as param
603e197d37e2ae216382aced58de128de2e4e1f8 authored over 8 years ago by Recep Aslantas <[email protected]>
603e197d37e2ae216382aced58de128de2e4e1f8 authored over 8 years ago by Recep Aslantas <[email protected]>
rotate around single axis
3d34f2708875180e022a6fa72f0d231b1d747b75 authored over 8 years ago by Recep Aslantas <[email protected]>
3d34f2708875180e022a6fa72f0d231b1d747b75 authored over 8 years ago by Recep Aslantas <[email protected]>
add option to scale with single val
5fcadc24cc66907b45dc5e1eb7e0bc990d0f75a3 authored over 8 years ago by Recep Aslantas <[email protected]>
5fcadc24cc66907b45dc5e1eb7e0bc990d0f75a3 authored over 8 years ago by Recep Aslantas <[email protected]>
fix print mat4
99481985d46c2bb336ead37f3c6eb76940303124 authored over 8 years ago by Recep Aslantas <[email protected]>
99481985d46c2bb336ead37f3c6eb76940303124 authored over 8 years ago by Recep Aslantas <[email protected]>
matrix transpose
4aecc0b3e277e2becfc44d67d32f2bdc3cd3bc49 authored over 8 years ago by Recep Aslantas <[email protected]>
4aecc0b3e277e2becfc44d67d32f2bdc3cd3bc49 authored over 8 years ago by Recep Aslantas <[email protected]>
mat4 mul N
92ce6ee7fb1562beaa33acf6edc296ff0b7fee7e authored over 8 years ago by Recep Aslantas <[email protected]>
92ce6ee7fb1562beaa33acf6edc296ff0b7fee7e authored over 8 years ago by Recep Aslantas <[email protected]>
lookat
6635fdd7c1e612ebc858f4c275dd9986b6cd441d authored over 8 years ago by Recep Aslantas <[email protected]>
6635fdd7c1e612ebc858f4c275dd9986b6cd441d authored over 8 years ago by Recep Aslantas <[email protected]>
fix mat3 base type
a95ee3423ddb2f168ed4899738e3ceccff246cbf authored over 8 years ago by Recep Aslantas <[email protected]>
a95ee3423ddb2f168ed4899738e3ceccff246cbf authored over 8 years ago by Recep Aslantas <[email protected]>
affine scale
38a87ec4a638740df0bc2a14fa222ca5e9818d40 authored over 8 years ago by Recep Aslantas <[email protected]>
38a87ec4a638740df0bc2a14fa222ca5e9818d40 authored over 8 years ago by Recep Aslantas <[email protected]>
translate and move
7f4d4868eba8015895976f5d9162dce42592b543 authored over 8 years ago by Recep Aslantas <[email protected]>
7f4d4868eba8015895976f5d9162dce42592b543 authored over 8 years ago by Recep Aslantas <[email protected]>
pre defined identity matrix4f
111908b9e0167ab2ac81c832d62b1b10d7beddb1 authored over 8 years ago by Recep Aslantas <[email protected]>
111908b9e0167ab2ac81c832d62b1b10d7beddb1 authored over 8 years ago by Recep Aslantas <[email protected]>
vector common funcs
82c9acbf76a37c89fe28df0fabe832cfd48b5243 authored over 8 years ago by Recep Aslantas <[email protected]>
82c9acbf76a37c89fe28df0fabe832cfd48b5243 authored over 8 years ago by Recep Aslantas <[email protected]>
print mat4
f09238a6aa7b7c78980d53c3cfb1f813458e1131 authored over 8 years ago by Recep Aslantas <[email protected]>
f09238a6aa7b7c78980d53c3cfb1f813458e1131 authored over 8 years ago by Recep Aslantas <[email protected]>
update mat4 and mat4 mul
because m1 and m2 could be same matrix e.g dest = m1*m1
f708240ad341963c8c5dcee0ad411d53e745b621 authored over 8 years ago by Recep Aslantas <[email protected]>
Initial Commit
6c6418d19a73fab6ad5ea7215b73f22b0d7f946c authored over 8 years ago by Recep Aslantas <[email protected]>
6c6418d19a73fab6ad5ea7215b73f22b0d7f946c authored over 8 years ago by Recep Aslantas <[email protected]>