Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayLib::cFloat32SinTable Class Reference

#include <cFloatEst.h>

Public Member Functions

void CreateSinTable (int iTicks)
 
float Sin (RADIANf_t fVal)
 

Public Attributes

cArrayVal< float > m_Values
 sine wave table values. More...
 

Detailed Description

Create my sine/cosine lookup table. Radians. Faster but less accurate sin/cosine lookups. Yes this is still faster than CPU math sin/cos functions even on modern machines. (2009)

Member Function Documentation

◆ CreateSinTable()

void GrayLib::cFloat32SinTable::CreateSinTable ( int  iTicks)

◆ Sin()

float GrayLib::cFloat32SinTable::Sin ( RADIANf_t  fVal)

Member Data Documentation

◆ m_Values

cArrayVal<float> GrayLib::cFloat32SinTable::m_Values

sine wave table values.


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