GLSLmath provides C++ math operations as defined by GLSL. For example, it provides methods to easily setup viewing transformations and perspective projections.

GLSLmath has been inspired by the glm and slmath libraries, which aim to mimic GLSL, but in contrast to those GLSLmath does not focus on a complete conforming implementation of GLSL. 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.

Features

  • GLSLmath consists of a single C++ header file.
  • It contains vector and matrix classes and linear algebra operators that allow computer graphics developers to write math operations in C++ just like one is used to it from GLSL.
  • Complete set of linear algebra operations including support for homogeneous coordinates and quaternions.
  • Easy to use, so it is ideal for rapid prototyping or teaching purposes.
  • It contains methods for intersection testing of geometric primitives like lines, triangles and ellipsoids.
  • Regression-tested to be bugfree.

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow glslmath

glslmath Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of glslmath!

Additional Project Details

Intended Audience

Developers

User Interface

OpenGL, Project is a graphics toolkit

Programming Language

C++

Related Categories

C++ 3D Rendering Software, C++ Mathematics Software, C++ Libraries

Registered

2015-03-13