Files
orx/orx-glslify/src/test/resources/glslify/glsl-easings/sine-in.glsl
2020-04-25 11:08:43 +02:00

10 lines
159 B
GLSL

#ifndef HALF_PI
#define HALF_PI 1.5707963267948966
#endif
float sineIn(float t) {
return sin((t - 1.0) * HALF_PI) + 1.0;
}
#pragma glslify: export(sineIn)