Interpolator that mirrors ExpInterpolator, easing out of the start of the range.
More...
#include <interpolator.h>
|
| | ~InvExpInterpolator () override=default |
| | Destroy the object.
|
| | InvExpInterpolator (float fY0, float fY1, float fX0, float fX1, float fExponent) |
| | Construct an interpolator.
|
| void | Reset (float fY0, float fY1, float fX0, float fX1, float fExponent) |
| | Replace the end points and the power.
|
| void | Reset (float fY0, float fY1, float fX0, float fX1) override |
| | Replace the end points and preserve the power.
|
| float | Interp (float fX) override |
| | Map an input along the curve.
|
| virtual | ~Interpolator () |
| | Release the interpolator.
|
| virtual float | Eval (float fX) |
| | Map an input, clamping it to the range first.
|
| float | GetY0 () const |
| float | GetY1 () const |
| float | GetX0 () const |
| float | GetX1 () const |
Interpolator that mirrors ExpInterpolator, easing out of the start of the range.
The RTTI records the class as deriving from Interpolator. The object is 0x20 bytes.
◆ ~InvExpInterpolator()
| InvExpInterpolator::~InvExpInterpolator |
( |
| ) |
|
|
overridedefault |
Destroy the object.
- Ghidra address:
- NTSC-U/C: 0x003a8778
- Ghidra address:
- PAL: 0x00417458
◆ InvExpInterpolator()
| InvExpInterpolator::InvExpInterpolator |
( |
float | fY0, |
|
|
float | fY1, |
|
|
float | fX0, |
|
|
float | fX1, |
|
|
float | fExponent ) |
Construct an interpolator.
- Parameters
-
| fY0 | The output at the start of the range. |
| fY1 | The output at the end of the range. |
| fX0 | The start of the input range. |
| fX1 | The end of the input range. |
| fExponent | The power. |
- Ghidra address:
- NTSC-U/C: 0x00291760
- Ghidra address:
- PAL: 0x0029b128
◆ Reset() [1/2]
| void InvExpInterpolator::Reset |
( |
float | fY0, |
|
|
float | fY1, |
|
|
float | fX0, |
|
|
float | fX1, |
|
|
float | fExponent ) |
Replace the end points and the power.
- Parameters
-
| fY0 | The output at the start of the range. |
| fY1 | The output at the end of the range. |
| fX0 | The start of the input range. |
| fX1 | The end of the input range. |
| fExponent | The power. |
- Ghidra address:
- NTSC-U/C: 0x00291798
- Ghidra address:
- PAL: 0x0029b160
◆ Reset() [2/2]
| void InvExpInterpolator::Reset |
( |
float | fY0, |
|
|
float | fY1, |
|
|
float | fX0, |
|
|
float | fX1 ) |
|
overridevirtual |
Replace the end points and preserve the power.
- Parameters
-
| fY0 | The output at the start of the range. |
| fY1 | The output at the end of the range. |
| fX0 | The start of the input range. |
| fX1 | The end of the input range. |
- Ghidra address:
- NTSC-U/C: 0x002917f0
- Ghidra address:
- PAL: 0x0029b1b8
Implements Interpolator.
◆ Interp()
| float InvExpInterpolator::Interp |
( |
float | fX | ) |
|
|
overridevirtual |
Map an input along the curve.
- Parameters
-
- Returns
- mY0 plus mRange times one less the power of one less the input's position.
- Ghidra address:
- NTSC-U/C: 0x00291810
- Ghidra address:
- PAL: 0x0029b1d8
Implements Interpolator.
The documentation for this class was generated from the following file: