10 lines
159 B
GLSL
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)
|