Linear algebra functions and utilities for 3D rendering in C
izzy 81a45094c1 new ine/rectangle functions, reorganization of line functions | 14 jam lalu | |
---|---|---|
algorithms | 2 hari lalu | |
intersect | 14 jam lalu | |
optimizations | 4 tahun lalu | |
.gitignore | 4 tahun lalu | |
LICENSE | 2 tahun lalu | |
README.md | 2 tahun lalu | |
build.sh | 4 tahun lalu | |
c3dlas.c | 14 jam lalu | |
c3dlas.h | 14 jam lalu | |
generic_vectors.h | 2 bulan lalu | |
inertia.c | 1 tahun lalu | |
inertia.h | 1 tahun lalu | |
legacy_migration.sh | 4 tahun lalu | |
line.c | 14 jam lalu | |
matrix3.c | 1 tahun lalu | |
matrix4.c | 1 Minggu lalu | |
meshgen.c | 2 tahun lalu | |
meshgen.h | 2 tahun lalu | |
quaternion.c | 14 jam lalu | |
short_macros.h | 6 bulan lalu | |
test.c | 4 tahun lalu |
Linear algebra functions and utilities for 3D rendering in C
This library exists because I couldn't find an MIT/BSD licensed C library for doing the math required in a OpenGL program. It's not optimized, extensive, or sophisticated. It is free and written in pure C.
C++ has become fat and ugly with age. Not that it was a 9 to start with...
ATLAS/CBLAS are an incomprehensible mess.
GPL, while a wonderful thing, is a bit heavy-handed for some basic math functions.
I firmly believe that such a library did not exist because most of the functionality was built in to older OpenGL versions. By the time OpenGL 3.3 came out most developers had converted to worshiping under the altar of OOP.
There are probably math bugs somewhere. If you find one, report it on github. Preferably include how to fix it to make my life easier.