Swith orx-glslify to preprocessor usage

This commit is contained in:
Ricardo Matias
2020-03-01 14:31:06 +01:00
parent 5b2652a1d3
commit c74d4a250a
13 changed files with 355 additions and 66 deletions

View File

@@ -0,0 +1,8 @@
#pragma glslify: add = require(sum)
#pragma glslify: multiply = require(multiply)
float solve(float a, float b) {
return multiply(add(a, b), b);
}
#pragma glslify: export(solve)