A math library for graphics programming. The API is trying to be identical to the data types and builtin functions of OpenGL shader language. The implementation basically piggybacks on the simd
library.
-
You should always
import Darwin
beforeimport GLMath
. -
Geometry related constructs like
Quaternion
,Points
, etc., are defined in separated packages that depend onGLMath
.
- Documentation with examples.
- Works on Linux.
MIT.