Linear algebra functions and utilities for 3D rendering in C
|
4 dagen geleden | |
---|---|---|
algorithms | 2 weken geleden | |
intersect | 4 dagen geleden | |
optimizations | 4 jaren geleden | |
.gitignore | 4 jaren geleden | |
LICENSE | 2 jaren geleden | |
README.md | 2 jaren geleden | |
build.sh | 4 jaren geleden | |
c3dlas.c | 2 weken geleden | |
c3dlas.h | 4 dagen geleden | |
generic_vectors.h | 2 maanden geleden | |
inertia.c | 1 jaar geleden | |
inertia.h | 1 jaar geleden | |
legacy_migration.sh | 4 jaren geleden | |
line.c | 4 dagen geleden | |
matrix3.c | 1 jaar geleden | |
matrix4.c | 1 maand geleden | |
meshgen.c | 2 jaren geleden | |
meshgen.h | 2 jaren geleden | |
quaternion.c | 2 weken geleden | |
short_macros.h | 7 maanden geleden | |
test.c | 4 jaren geleden |
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.