summaryrefslogtreecommitdiff
path: root/testdata/example06.lc
diff options
context:
space:
mode:
authorPéter Diviánszky <divipp@gmail.com>2016-02-22 15:15:23 +0100
committerPéter Diviánszky <divipp@gmail.com>2016-02-22 15:15:44 +0100
commit23b42e612a6a7864428674b3c9d63ed86fc07435 (patch)
tree79bea78eba5d508ef9d4072c9721a4c09f87a000 /testdata/example06.lc
parent94dead004d04bd80db17429859454981513be814 (diff)
rename: fetch_ --> fetch; fetchArrays_ --> fetchArrays
Diffstat (limited to 'testdata/example06.lc')
-rw-r--r--testdata/example06.lc2
1 files changed, 1 insertions, 1 deletions
diff --git a/testdata/example06.lc b/testdata/example06.lc
index dd208c27..f29f8904 100644
--- a/testdata/example06.lc
+++ b/testdata/example06.lc
@@ -6,7 +6,7 @@ colorFragmentCtx = (DepthOp Less True, ColorOp NoBlending (V4 True True True Tru
6rasterizeWith = rasterizePrimitives 6rasterizeWith = rasterizePrimitives
7triangles = triangleRasterCtx 7triangles = triangleRasterCtx
8 8
9cubeVertexStream = fetch "stream4" Triangle (Attribute "position4" :: ((Vec 4 Float))) 9cubeVertexStream = fetch "stream4" (Attribute "position4" :: ((Vec 4 Float)))
10mapFragments2 s fs = accumulate colorFragmentCtx (\((a)) -> ((fs a))) s clear 10mapFragments2 s fs = accumulate colorFragmentCtx (\((a)) -> ((fs a))) s clear
11transform s f = mapPrimitives (\((v)) -> (f v, v)) s 11transform s f = mapPrimitives (\((v)) -> (f v, v)) s
12 12