OSDN Git Service

123
authorHOSOKAWA Kenchi <hskwk@inter7.jp>
Fri, 13 Aug 2010 04:41:43 +0000 (13:41 +0900)
committerHOSOKAWA Kenchi <hskwk@inter7.jp>
Fri, 13 Aug 2010 04:42:06 +0000 (13:42 +0900)
test4/PsychlopsMain.cs

index e7b6754..c880085 100644 (file)
@@ -249,8 +249,8 @@ namespace PsychlopsSilverlight4test
                                //Figures.drawGabor(ref img, 20, 100, 1, 0, frames * 2.0 * Math.PI / tfreq / 60);\r
                                //Figures.drawGaussian(ref img, 20, 1);\r
                                //Figures.drawGrating(ref img, 200, 200, 20, 1, 2, frames * 2.0 * Math.PI / tfreq / 60);\r
-                               img.centering(Mouse.position);\r
-                               img.draw();\r
+                               //img.centering(Mouse.position);\r
+                               //img.draw();\r
                                //g.centering(Mouse.position).draw();\r
                                //g.rotation += 1;\r
 \r
@@ -267,7 +267,7 @@ namespace PsychlopsSilverlight4test
                                        fixation.draw(new Stroke(Color.green, 3));\r
                                }*/\r
 \r
-                               for (int i = 0; i < dots.cood.Length; i++)\r
+                               for (int i = 0; i < dots.cood.Length/4; i++)\r
                                {\r
                                        dots.cood[i].set(Math.random(500), Math.random(500));\r
                                }\r