summaryrefslogtreecommitdiff
path: root/testdata/editor-examples
diff options
context:
space:
mode:
authorPéter Diviánszky <divipp@gmail.com>2016-02-18 09:56:22 +0100
committerPéter Diviánszky <divipp@gmail.com>2016-02-18 09:56:35 +0100
commitc468af5fdba01215c117aa7637f10fe1acfcdb4d (patch)
treed06d982778c43fce60abb3113413c892aa7b721c /testdata/editor-examples
parent6fb07d45cba2fea6c984ad27e31f3ac598b0dbe6 (diff)
support local pattern matching functions and local recursive functions
Diffstat (limited to 'testdata/editor-examples')
-rw-r--r--testdata/editor-examples/Heartbeat.out12
1 files changed, 4 insertions, 8 deletions
diff --git a/testdata/editor-examples/Heartbeat.out b/testdata/editor-examples/Heartbeat.out
index 81eec655..435db6b7 100644
--- a/testdata/editor-examples/Heartbeat.out
+++ b/testdata/editor-examples/Heartbeat.out
@@ -108,6 +108,7 @@ Pipeline
108 } 108 }
109 vec4 blue = rgb (0.0,0.0,1.0); 109 vec4 blue = rgb (0.0,0.0,1.0);
110 vec4 navy = rgb (0.0,0.0,0.5); 110 vec4 navy = rgb (0.0,0.0,0.5);
111 float ti = abs ((sin ((time) * (4.0))) - (0.37));
111 float time = Time; 112 float time = Time;
112 vec4 white = rgb (1.0,1.0,1.0); 113 vec4 white = rgb (1.0,1.0,1.0);
113 vec4 yellow = rgb (1.0,1.0,0.0); 114 vec4 yellow = rgb (1.0,1.0,0.0);
@@ -116,18 +117,13 @@ Pipeline
116 ((((((vo1).x) - (0.85)) * (((vo1).x) - (0.85))) + ((((vo1).y) - (0.85)) * (((vo1).y) - (0.85)))) + ((5.0e-4) * (sin 117 ((((((vo1).x) - (0.85)) * (((vo1).x) - (0.85))) + ((((vo1).y) - (0.85)) * (((vo1).y) - (0.85)))) + ((5.0e-4) * (sin
117 (((3.0) * (atan 118 (((3.0) * (atan
118 (((vo1).x) - (0.85) 119 (((vo1).x) - (0.85)
119 ,((vo1).y) - (0.85)))) + ((15.0) * (time)))))) < ((5.0e-3) * (abs 120 ,((vo1).y) - (0.85)))) + ((15.0) * (time)))))) < ((5.0e-3) * (ti)) ? navy : ((((((vo1).x) - (0.85)) * (((vo1).x) - (0.85))) + ((((vo1).y) - (0.85)) * (((vo1).y) - (0.85)))) + ((2.0e-3) * (sin
120 ((sin
121 ((time) * (4.0))) - (0.37)))) ? navy : ((((((vo1).x) - (0.85)) * (((vo1).x) - (0.85))) + ((((vo1).y) - (0.85)) * (((vo1).y) - (0.85)))) + ((2.0e-3) * (sin
122 (((5.0) * (atan 121 (((5.0) * (atan
123 (((vo1).x) - (0.85) 122 (((vo1).x) - (0.85)
124 ,((vo1).y) - (0.85)))) - ((5.0) * (time)))))) < ((2.0e-2) * (abs 123 ,((vo1).y) - (0.85)))) - ((5.0) * (time)))))) < ((2.0e-2) * (ti)) ? blue : ((((((vo1).x) - (0.85)) * (((vo1).x) - (0.85))) + ((((vo1).y) - (0.85)) * (((vo1).y) - (0.85)))) + ((2.0e-3) * (sin
125 ((sin
126 ((time) * (4.0))) - (0.37)))) ? blue : ((((((vo1).x) - (0.85)) * (((vo1).x) - (0.85))) + ((((vo1).y) - (0.85)) * (((vo1).y) - (0.85)))) + ((2.0e-3) * (sin
127 (((7.0) * (atan 124 (((7.0) * (atan
128 (((vo1).x) - (0.85) 125 (((vo1).x) - (0.85)
129 ,((vo1).y) - (0.85)))) + ((3.0) * (time)))))) < ((5.0e-2) * (abs 126 ,((vo1).y) - (0.85)))) + ((3.0) * (time)))))) < ((5.0e-2) * (ti)) ? white : yellow;
130 ((sin ((time) * (4.0))) - (0.37)))) ? white : yellow;
131 } 127 }
132 """ 128 """
133 } 129 }