Swith orx-glslify to preprocessor usage
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
float cubicInOut(float t) {
|
||||
return t < 0.5
|
||||
? 4.0 * t * t * t
|
||||
: 0.5 * pow(2.0 * t - 2.0, 3.0) + 1.0;
|
||||
}
|
||||
|
||||
#pragma glslify: export(cubicInOut)
|
||||
Reference in New Issue
Block a user