Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
mathutils Namespace ReferenceDetailed Descriptiona variety of handy mathematical functions, many of which are templated
Function Documentation
template<class num>
template<class num>
template<class num>
template<class num>
Clips n to a minimum of low or maximum of high. If low and high are inverted, high is returned. Definition at line 24 of file mathutils.h.
template<>
template<>
template<class num>
Returns the log base 2 of a number. This template implementation does a bit shifting method appropriate for integers. Specializations are provided for float and double to use the 'real' log() Definition at line 46 of file mathutils.h.
template<class num>
converts from radians to degrees
Definition at line 76 of file mathutils.h. Referenced by HeadPointerMC::isReachable().
template<class num>
template<class num>
euclidean distance of two points (squared), see distance()
Definition at line 11 of file mathutils.h. Referenced by distance().
|
Tekkotsu v4.0 |
Generated Thu Nov 22 00:58:51 2007 by Doxygen 1.5.4 |