summaryrefslogblamecommitdiff
path: root/src/graphyx/graphics/GraphicalRevoluteJoint.scala
blob: 940a8622d663ffff28d6235ca42ec157fe795fa0 (plain) (tree)



















                                                                               
/*
 * 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)
  }

}