]> git.tdb.fi Git - libs/gl.git/commit
Use libmspmath to provide vector and matrix operations
authorMikko Rasa <tdb@tdb.fi>
Sat, 18 May 2013 21:27:42 +0000 (00:27 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 18 May 2013 21:27:42 +0000 (00:27 +0300)
commit2b779717e42b514210f7128cf9aee2276650e003
tree35d2c86f448c907f947c77cb8b1eda6dd304a70c
parentdd32f2502f8d090c639df4a34d56d21ccbecac83
Use libmspmath to provide vector and matrix operations

Pulling them from a math library enables interoperability for programs
where it is desirable for some parts to avoid an OpenGL dependency.  A
full complement of vector operations helps with readable code.

The flag tracking from Matrix was removed as a benchmark showed it to
actually hurt performance with compiler optimizations enabled.
15 files changed:
Build
source/animation.cpp
source/box.cpp
source/camera.cpp
source/camera.h
source/grid.cpp
source/matrix.cpp
source/matrix.h
source/pose.cpp
source/programdata.h
source/shadowmap.cpp
source/texturecube.cpp
source/uniformblock.h
source/vector.h
source/vertexbuilder.h