Skip to content
Daniel Heater edited this page Apr 17, 2015 · 1 revision

The units library provides a number of classes representing engineering units. By building engineering type aware libraries we hope to simplify unit conversion and lesson the opportunity for errors.

The units libraries are used by other libraries in libSPRITE For example, the math::sin() function is overloaded such that it can accept either units::Radians or units::Degrees. Automatic conversion takes place to ensure that the correct answer is returned.

Clone this wiki locally