projects
/
universe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update.
[universe.git]
/
dummy.cc
diff --git
a/dummy.cc
b/dummy.cc
index
f225285
..
67b2fd1
100644
(file)
--- a/
dummy.cc
+++ b/
dummy.cc
@@
-32,7
+32,7
@@
public:
p->set_vertex(3, 0, height);
p->set_position(x0 + deltax/2, y0 + deltay/2, 0);
p->set_speed(0, 0, 0);
p->set_vertex(3, 0, height);
p->set_position(x0 + deltax/2, y0 + deltay/2, 0);
p->set_speed(0, 0, 0);
- universe->initialize(p);
+ universe->initialize
_polygon
(p);
universe->add_polygon(p);
}
universe->add_polygon(p);
}
@@
-46,7
+46,7
@@
public:
p->set_vertex(3, 0, height);
p->set_position(x0, y0 + deltay/2, 0);
p->set_speed(0, 0, 0);
p->set_vertex(3, 0, height);
p->set_position(x0, y0 + deltay/2, 0);
p->set_speed(0, 0, 0);
- universe->initialize(p);
+ universe->initialize
_polygon
(p);
universe->add_polygon(p);
}
universe->add_polygon(p);
}
@@
-59,7
+59,7
@@
public:
p->set_vertex(3, 0, height);
p->set_position(x0 + deltax, y0 + deltay/2, 0);
p->set_speed(0, 0, 0);
p->set_vertex(3, 0, height);
p->set_position(x0 + deltax, y0 + deltay/2, 0);
p->set_speed(0, 0, 0);
- universe->initialize(p);
+ universe->initialize
_polygon
(p);
universe->add_polygon(p);
p = new Polygon(1.0, 0.8, 0.2, 0.8, 0, 0, 8);
universe->add_polygon(p);
p = new Polygon(1.0, 0.8, 0.2, 0.8, 0, 0, 8);
@@
-73,7
+73,7
@@
public:
p->set_vertex(7, 0.0, 40.0);
p->set_position(120, 420, 0);
p->set_speed(0, 0, 0);
p->set_vertex(7, 0.0, 40.0);
p->set_position(120, 420, 0);
p->set_speed(0, 0, 0);
- universe->initialize(p);
+ universe->initialize
_polygon
(p);
universe->add_polygon(p);
int ne = 25;
universe->add_polygon(p);
int ne = 25;
@@
-84,7
+84,7
@@
public:
}
p->set_position(400, 400, 0);
p->set_speed(0, 0, 0);
}
p->set_position(400, 400, 0);
p->set_speed(0, 0, 0);
- universe->initialize(p);
+ universe->initialize
_polygon
(p);
universe->add_polygon(p);
}
universe->add_polygon(p);
}