No Description

rexim 3dd8486a75 Remove finished TODO 1 week ago
examples df72fdc96c Remove Makefile and fix the ball example comment 2 weeks ago
src 3dd8486a75 Remove finished TODO 1 week ago
thirdparty f0a19e92da Add nob build 4 weeks ago
.gitignore 2187374447 gitignore etags garbage 3 weeks ago
LICENSE b90c0551d8 Ready. Set. Go! 4 years ago
README.md 42d77a32bf Add a disclaimer about nob.h usage 2 weeks ago
la.h 558e718eea Add more group components to vector types 1 week ago
nob.c 30f6609f2b Add components array union to each vector definition 3 weeks ago

README.md

Linear Algebra in C

Procedurally generated C library for Linear Algebra in 2D/3D Computer Graphics (equivalent of GLM). The goals are:

  • consistent naming scheme of the functions/types/macros,
  • human-readable source code despite being procedurally generated,
  • minimal amount of dependencies,

Quick Start

Grab la.h and use it as an stb-style header-only library. For more info on such libraries see: https://github.com/nothings/stb/blob/master/docs/stb_howto.txt

For a usage example see ./examples/ball.c

Regenerating la.h

We are using nob.h as the build system.

$ cc -o nob nob.c
$ ./nob