Add static keyword to ease inout sine function
This commit is contained in:
@@ -48,7 +48,7 @@ static f32 bzEaseInSine(f32 x) {
|
||||
static f32 bzEaseOutSine(f32 x) {
|
||||
return sinf((x * M_PI) / 2.0f);
|
||||
}
|
||||
f32 bzEaseInOutSine(f32 x) {
|
||||
static f32 bzEaseInOutSine(f32 x) {
|
||||
return -(-cosf(M_PI * x) - 1) / 2.0f;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user