Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xlab/linmath
Go port of linmath.h — a small library for linear math as required for computer graphics.
https://github.com/xlab/linmath
Last synced: about 1 month ago
JSON representation
Go port of linmath.h — a small library for linear math as required for computer graphics.
- Host: GitHub
- URL: https://github.com/xlab/linmath
- Owner: xlab
- License: mit
- Created: 2016-08-13T15:06:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-09-22T22:53:24.000Z (about 2 years ago)
- Last Synced: 2024-06-20T00:30:29.502Z (5 months ago)
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
linmath [![GoDoc](https://godoc.org/github.com/xlab/linmath?status.svg)](https://godoc.org/github.com/xlab/linmath)
-------A small library for linear math as required for computer graphics.
This is a Go-lang port of [github.com/datenwolf/linmath.h](https://github.com/datenwolf/linmath.h).```
linmath.h provides the most used types required programming computer graphice:vec3 -- 3 element vector of floats
vec4 -- 4 element vector of floats (4th component used for homogenous computations)
mat4x4 -- 4 by 4 elements matrix, computations are done in column major order
quat -- quaternionThe types are deliberately named like the types in GLSL. In fact they are meant to
be used for the client side computations and passing to same typed GLSL uniforms.
```## License
MIT (re-licensed from the WTFPL).