Api for trigonometrics using lookup tables. The precision is guaranteed to have an error less than 0.001f.
| Namespace: | dmTrigLookup |
| Include: | #include <dmsdk/dlib/trig_lookup.h> |
| FUNCTIONS | |
|---|---|
| float Cos (float radians) | Returns the cosine of the given angle from a looku... |
| float Sin (float radians) | Returns the sine of the given angle from a lookup ... |
float Cos(float radians)
Returns the cosine of the given angle from a lookup table.
PARAMETERS
float |
radians |
Radians of the angle |
RETURNS
float |
The cosine of the angle |