inOutCubic

Parameters
- t:f32
- f32
Source
Implementation
pub fn inOutCubic(t: f32) f32 {
if (t < 0.5) return inCubic(t * 2) / 2;
return 1 - inCubic((1 - t) * 2) / 2;
}
Source
pub fn inOutCubic(t: f32) f32 {
if (t < 0.5) return inCubic(t * 2) / 2;
return 1 - inCubic((1 - t) * 2) / 2;
}