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

package graphyx.graphics

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

case class GraphicalRevoluteJoint(real: RevoluteJoint) extends GraphicalJoint {
  val connection1 = real.connection1
  
   def draw(): Unit = {
    g.setColor(java.awt.Color.darkGray)
    drawPoint(connection1)
  }

}