summaryrefslogtreecommitdiff
path: root/src/graphyx/tests/General2.scala
diff options
context:
space:
mode:
authorJakob Odersky <jodersky@gmail.com>2015-06-29 12:32:00 +0200
committerJakob Odersky <jodersky@gmail.com>2015-06-29 12:32:00 +0200
commit01c5c700647feba596e02cb7a2e672f5301504ff (patch)
treebb0b0e1c2efde6b5362a294089fe081db0724833 /src/graphyx/tests/General2.scala
parent998e545e8e42fee597f7274e47428d35dcf29e7b (diff)
downloadsims-01c5c700647feba596e02cb7a2e672f5301504ff.tar.gz
sims-01c5c700647feba596e02cb7a2e672f5301504ff.tar.bz2
sims-01c5c700647feba596e02cb7a2e672f5301504ff.zip
Port to scala 2.11
Diffstat (limited to 'src/graphyx/tests/General2.scala')
-rw-r--r--src/graphyx/tests/General2.scala28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/graphyx/tests/General2.scala b/src/graphyx/tests/General2.scala
deleted file mode 100644
index 2006080..0000000
--- a/src/graphyx/tests/General2.scala
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Graphyx
- * copyright (c) 2009 Jakob Odersky
- * made available under the MIT License
-*/
-
-package graphyx.tests
-
-import sims.geometry._
-import sims.dynamics._
-
-object General2 extends Test{
- val title = "General2"
- val world = new World
-
- def init = {
- world += new Body(new Rectangle(100,0.5,1) {pos = Vector2D(0, -0.5)}) {fixed = true}
- //new Body(new Circle(0.05,1) {pos = Vector2D(0, 0.05)}),
- //new Body(new Rectangle(0.5,0.1,1) {pos = Vector2D(0, 0.2)}),
- //new Body(new Circle(0.05,1) {pos = Vector2D(1, 0.05)}))
-
- world += new Body(new Circle(0.2,1) {pos = Vector2D(5, 0.2)})
- world += new Body(new Rectangle(1.5,0.1,1) {pos = Vector2D(4.5, 0.5)}, new Rectangle(0.05,0.1,1) {pos = Vector2D(3.05,0.7)})
- world += new Body(new Circle(0.1,1) {pos = Vector2D(3.2, 0.7)})
- world += new Body(new Circle(0.5,10) {pos = Vector2D(8, 0.5)})
-
- }
-}