Honeycomb  0.1
Component-Model Framework
Public Member Functions | List of all members
honey::SinTable< Real > Class Template Reference

Speeds up all trig functions at the cost of precision. Precision is roughly 1 / size. More...

#include <Trig.h>

Public Member Functions

 SinTable ()
 
void resize (int size)
 
int size () const
 
Real sin (Real x) const
 
Real asin (Real x) const
 
Real cos (Real x) const
 
Real acos (Real x) const
 
Real tan (Real x) const
 
Real atan (Real x) const
 
Real atan2 (Real y, Real x) const
 

Detailed Description

template<class Real>
class honey::SinTable< Real >

Speeds up all trig functions at the cost of precision. Precision is roughly 1 / size.

Constructor & Destructor Documentation

template<class Real >
honey::SinTable< Real >::SinTable ( )
inline

Member Function Documentation

template<class Real >
Real honey::SinTable< Real >::acos ( Real  x) const
inline
template<class Real >
Real honey::SinTable< Real >::asin ( Real  x) const
template<class Real >
Real honey::SinTable< Real >::atan ( Real  x) const
inline
template<class Real >
Real honey::SinTable< Real >::atan2 ( Real  y,
Real  x 
) const
template<class Real >
Real honey::SinTable< Real >::cos ( Real  x) const
inline
template<class Real >
void honey::SinTable< Real >::resize ( int  size)
template<class Real >
Real honey::SinTable< Real >::sin ( Real  x) const
template<class Real >
int honey::SinTable< Real >::size ( ) const
inline
template<class Real >
Real honey::SinTable< Real >::tan ( Real  x) const
inline

The documentation for this class was generated from the following files: