Commit Graph

2 Commits

Author SHA1 Message Date
sthen
eaa11fe2d0 don't use -mfpmath=387, no pkg change (this is just used for building
the test suite) -> no bump
2013-03-28 21:20:47 +00:00
sthen
cd934faf69 import ports/graphics/glm, ok gonzalo@
OpenGL Mathematics (GLM) is a header only C++ mathematics library for
graphics software based on the OpenGL Shading Language (GLSL) specification.

GLM provides classes and functions designed and implemented with the same
naming conventions and functionalities as GLSL so that when a programmer
knows GLSL, he knows GLM as well, which makes it really easy to use.

This project isn't limited to GLSL features. An extension system, based
on the GLSL extension conventions, provides extended capabilities:
matrix transformations, quaternions, half-based types, random numbers,
procedural noise functions, etc...

This library works perfectly with OpenGL but it also ensures interoperability
with third party libraries and SDKs. It is a good candidate for software
rendering (Raytracing / Rasterisation), image processing, physic simulations
and any context that requires a simple and convenient mathematics library.

GLM is written in C++98 but can take advantage of C++11 when supported
by the compiler.
2013-03-19 15:47:41 +00:00