|
Digimon World 3 decomp
The European version, SLES_039.36
|
FIGHTSTG's interpolation (FIGHTSTG_interp). More...
Go to the source code of this file.
Functions | |
| void | FIGHTSTG_interpNop (void) |
| FIGHTSTG_interp.nop: empty, and nothing calls it. | |
| void | FIGHTSTG_lerpVector (SVECTOR *from, SVECTOR *to, s32 t, SVECTOR *out) |
FIGHTSTG_interp.lerp: out is from moved t (0-0x1000) of the way to to, on the GTE. | |
| s32 | FIGHTSTG_ease (s32 curve, s32 t, s32 value) |
| Returns value scaled by the sine of t (4096 is 1.0) on the given curve: 0 a quarter of t, 1 the same as a cosine, 2 half of t. | |
Variables | |
| InterpFuncs | FIGHTSTG_interp = { FIGHTSTG_interpNop, FIGHTSTG_lerpVector, FIGHTSTG_ease } |
| the functions that go between values | |
FIGHTSTG's interpolation (FIGHTSTG_interp).
Definition in file interp.c.
| void FIGHTSTG_interpNop | ( | void | ) |
| void FIGHTSTG_lerpVector | ( | SVECTOR * | from, |
| SVECTOR * | to, | ||
| s32 | t, | ||
| SVECTOR * | out | ||
| ) |
| InterpFuncs FIGHTSTG_interp = { FIGHTSTG_interpNop, FIGHTSTG_lerpVector, FIGHTSTG_ease } |
the functions that go between values
Definition at line 44 of file interp.c.
Referenced by FIGHTSTG_fadeStage(), FIGHTSTG_updateBattleCamera(), FIGHTSTG_updateJump(), FIGHTSTG_updateLights(), and FIGHTSTG_updateMove().