glslmath
C++ header-only library that simulates GLSL math
...It rather aims to provide a convenient single header file that implements the most commonly used subset of GLSL so that it is easy to use for rapid prototyping and GLSL teaching purposes.
It is used at the Georg-Simon Ohm University of Applied Sciences in Nuremberg for teaching computer graphics courses.