comparison src/alice/test/topology/fishmodel/beta/CheckMyName.java @ 114:7dbaaa0de144 working

remove vector3f and add Matrix4d
author sugi
date Wed, 18 Jul 2012 20:40:50 +0900
parents 52156e4517b1
children 9845b74063ec
comparison
equal deleted inserted replaced
113:52156e4517b1 114:7dbaaa0de144
55 55
56 ods.update("local", key, new FishPoint(-0.1f,-0.1f)); 56 ods.update("local", key, new FishPoint(-0.1f,-0.1f));
57 new SetLocation(new MakeObject(frame),key,0,num); 57 new SetLocation(new MakeObject(frame),key,0,num);
58 new CheckLocalIndex(key,1); 58 new CheckLocalIndex(key,1);
59 59
60 for (int i = 0;i < 5 ; i++){ 60 for (int i = 0;i < 3 ; i++){
61 key = "fish"+i; 61 key = "fish"+i;
62 if (num == 0) new AutoIncrement(key,0); 62 if (num == 0) new AutoIncrement(key,0);
63 ods.update("local", key, new FishPoint(0.2f*i,0.2f*i)); 63 ods.update("local", key, new FishPoint(0.2f*i,0.2f*i));
64 new SetLocation(new MakeObject(frame),key,0,num); 64 new SetLocation(new MakeObject(frame),key,0,num);
65 new CheckLocalIndex(key,1); 65 new CheckLocalIndex(key,1);
66 } 66 }
67
67 /* 68 /*
68 for (int i = 6;i < 10 ; i++){ 69 for (int i = 6;i < 10 ; i++){
69 key = "fish"+i; 70 key = "fish"+i;
70 if (num == 0) new AutoIncrement(key,0); 71 if (num == 0) new AutoIncrement(key,0);
71 ods.update("local", key, new FishPoint(-0.2f*(i-5),0.2f*(i-5))); 72 ods.update("local", key, new FishPoint(-0.2f*(i-5),0.2f*(i-5)));