summaryrefslogtreecommitdiffstats
path: root/res/effectlib/square.glsllib
diff options
context:
space:
mode:
Diffstat (limited to 'res/effectlib/square.glsllib')
-rw-r--r--res/effectlib/square.glsllib4
1 files changed, 4 insertions, 0 deletions
diff --git a/res/effectlib/square.glsllib b/res/effectlib/square.glsllib
new file mode 100644
index 0000000..ca94aa4
--- /dev/null
+++ b/res/effectlib/square.glsllib
@@ -0,0 +1,4 @@
+float square( in float x )
+{
+ return( x * x );
+}