summaryrefslogtreecommitdiff
path: root/src/main/scala/graphyx/tests/Net.scala
blob: c340a80fac3a00b48f924bdfde47d46044763900 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Graphyx
 * copyright (c) 2009 Jakob Odersky
 * made available under the MIT License
*/

package graphyx.tests

import sims._
import sims.geometry._
import sims.dynamics._

object Net extends Test{
  val title = "Net"
  val world = new World
  
  def init = {
    val n = new prefabs.Net(10, 10, Vector2D(4,4))
    n.bodies(9).fixed = true
    world += n
  }
}