diff options
author | Péter Diviánszky <divipp@gmail.com> | 2016-02-22 15:15:23 +0100 |
---|---|---|
committer | Péter Diviánszky <divipp@gmail.com> | 2016-02-22 15:15:44 +0100 |
commit | 23b42e612a6a7864428674b3c9d63ed86fc07435 (patch) | |
tree | 79bea78eba5d508ef9d4072c9721a4c09f87a000 /testdata/example06.lc | |
parent | 94dead004d04bd80db17429859454981513be814 (diff) |
rename: fetch_ --> fetch; fetchArrays_ --> fetchArrays
Diffstat (limited to 'testdata/example06.lc')
-rw-r--r-- | testdata/example06.lc | 2 |
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 | |||
6 | rasterizeWith = rasterizePrimitives | 6 | rasterizeWith = rasterizePrimitives |
7 | triangles = triangleRasterCtx | 7 | triangles = triangleRasterCtx |
8 | 8 | ||
9 | cubeVertexStream = fetch "stream4" Triangle (Attribute "position4" :: ((Vec 4 Float))) | 9 | cubeVertexStream = fetch "stream4" (Attribute "position4" :: ((Vec 4 Float))) |
10 | mapFragments2 s fs = accumulate colorFragmentCtx (\((a)) -> ((fs a))) s clear | 10 | mapFragments2 s fs = accumulate colorFragmentCtx (\((a)) -> ((fs a))) s clear |
11 | transform s f = mapPrimitives (\((v)) -> (f v, v)) s | 11 | transform s f = mapPrimitives (\((v)) -> (f v, v)) s |
12 | 12 | ||