mirror of
https://github.com/zeldaret/ss
synced 2026-05-24 15:20:58 -04:00
23 lines
645 B
C++
23 lines
645 B
C++
#ifndef C_CLIB_H
|
|
#define C_CLIB_H
|
|
|
|
#include "common.h"
|
|
#include "m/m_vec.h"
|
|
|
|
namespace cLib {
|
|
|
|
s16 targetAngleY(const mVec3_c &target, const mVec3_c &source);
|
|
s16 targetAngleX(const mVec3_c &target, const mVec3_c &source);
|
|
void addCalcPos2(mVec3_c *src, const mVec3_c &target, f32 scale, f32 maxStep);
|
|
f32 addCalcPosXZ(mVec3_c *src, const mVec3_c &target, f32 scale, f32 maxStep, f32 minStep);
|
|
f32 addCalcPos(mVec3_c *src, const mVec3_c &target, f32 scale, f32 maxStep, f32 minStep);
|
|
|
|
// made up name
|
|
f32 easeIn(f32 value, f32 exponent);
|
|
f32 easeOut(f32 value, f32 exponent);
|
|
f32 easeInOut(f32 value, f32 exponent);
|
|
|
|
} // namespace cLib
|
|
|
|
#endif
|