TrigLookup

Namespace: dmTrigLookup Language: C++ Type: Defold C++ File: trig_lookup.h Source: engine/dlib/src/dmsdk/dlib/trig_lookup.h Include: dmsdk/dlib/trig_lookup.h

Api for trigonometrics using lookup tables. The precision is guaranteed to have an error less than 0.001f.

API

Cos

Type: FUNCTION Returns the cosine of the given angle from a lookup table.

Parameters

Returns

Sin

Type: FUNCTION Returns the sine of the given angle from a lookup table.

Parameters

Returns