[SCM] Lisaac compiler branch, master, updated. lisaac-0.12-507-g0ba2705

Benoit Sonntag sonntag at icps.u-strasbg.fr
Tue Oct 20 16:10:44 UTC 2009


The following commit has been merged in the master branch:
commit 0ba27055db5cb9bfe06ee385f2d57225dda36a7c
Author: Benoit Sonntag <sonntag at icps.u-strasbg.fr>
Date:   Tue Oct 20 18:10:43 2009 +0200

    glass ok

diff --git a/example/demomaker/glass/glass.li b/example/demomaker/glass/glass.li
index 70890cd..54eb1f2 100644
--- a/example/demomaker/glass/glass.li
+++ b/example/demomaker/glass/glass.li
@@ -65,11 +65,9 @@ Section Public
       0.to (size/2-4) do { i:INTEGER;
         px := a.cos * i;
         py := a.sin * i;
-        //di := ((REAL.pi/size * i).sqrt) * i;
-        di := ((i / (size/2)) * (i / (size/2))) * (size/2);  //((REAL.pi/size * i).atan ) * i;
+        di := ((REAL.pi/size * i).sqrt) * i;
         npx := a.cos * di;
         npy := a.sin * di;
-        //mask.item (px.to_integer+size/2,py.to_integer+size/2).make (npx.to_integer+size/2,npy.to_integer+size/2);
         mask.item (px.to_integer+size/2,py.to_integer+size/2).make (npx.to_integer+size/2,npy.to_integer+size/2);
       };
       a := a + 0.001;

-- 
Lisaac compiler



More information about the Lisaac-commits mailing list