BoosterSeat  0.1
A C++ library that includes common utilities that are used in other projects.
math.hpp File Reference

Contains general math functions/constants. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 bst
 
 bst::math
 

Variables

constexpr double bst::math::D2R = PI / 180.0
 Factor to convert degrees to radians. More...
 
constexpr double bst::D2R = PI / 180.0
 Factor to convert degrees to radians. More...
 
constexpr double bst::HALF_PI = PI / 2.0
 Half of pi. More...
 
constexpr double bst::math::PI = 3.14159265358979323846
 The mathematical constant pi. More...
 
constexpr double bst::PI = 3.14159265358979323846
 The mathematical constant pi. More...
 
constexpr double bst::math::R2D = 180.0 / PI
 Factor to convert radians to degrees. More...
 
constexpr double bst::R2D = 180.0 / PI
 Factor to convert radians to degrees. More...
 
constexpr double bst::THREE_PI_HALVES = 3.0 * HALF_PI
 Three halves of pi. More...
 
constexpr double bst::math::TWO_PI = 2.0 * PI
 Two times pi. More...
 
constexpr double bst::TWO_PI = 2.0 * PI
 Two times pi. More...
 

Detailed Description

Contains general math functions/constants.

Author
Joshua Jerred (https://joshuajer.red)
Date
2023-12-16