Namespaces | Functions

_src_base_clamp.hh File Reference

Functions to clamp values. More...

Go to the source code of this file.

Namespaces

namespace  base
 

Library of base code.


Functions

template<typename SIGNED >
SIGNED base::Clamp (const SIGNED n, const SIGNED limit)
template<typename T >
base::Clamp (const T n, const T low, const T high)
INLINE fp base::Clamp1 (const fp f)
INLINE uint8 base::ClampFF (const uint ui)
INLINE uint8 base::ClampFF (const int i)
INLINE uint8 base::ClampFF (const fp f)

Detailed Description

Functions to clamp values.

LastChangedDate:
2009-12-28 22:35:38 -0500 (Mon, 28 Dec 2009)
Author:
Jim E. Brooks http://www.palomino3d.org
Remarks:
This remains in the base module (not math) since Clamp() is used for Array2D.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:10