- Main Page
- Classes
- Files

- Class List
- Class Members

# MathTrigCache Struct Reference

This structure is used when FL_MATH_TRIGCACHE is more than 0, it is used to store cached sin parameters and their value. More...

`#include <flMath.h>`

List of all members.

## Public Attributes
u64 | mtgLastUsed
| The last tick in which this value was used.
float | mtgIn
| The input value.
float | mtgOut
| The cached answer.

## Detailed Description

This structure is used when FL_MATH_TRIGCACHE is more than 0, it is used to store cached sin parameters and their value.

See also:
  FL_MATH_TRIGCACHE

Definition at line 30 of file flMath.h.

## Member Data Documentation

u64 MathTrigCache::mtgLastUsed

The last tick in which this value was used.

Definition at line 34 of file flMath.h.

Referenced by mathTrigCacheAddSin().

float MathTrigCache::mtgIn

The input value.

Definition at line 38 of file flMath.h.

Referenced by mathTrigCacheAddSin().

float MathTrigCache::mtgOut

The cached answer.

Definition at line 42 of file flMath.h.

Referenced by mathTrigCacheAddSin(), and mathTrigCacheCheckSin().

The documentation for this struct was generated from the following file:

- flMath.h