blob: a3eb847ddede00092ab75a8e7a91876eaadec4c7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/* _____ _ __ ________ ___ *\
** / ___/(_) |/ / ___/ |__ \ Simple Mechanics Simulator 2 **
** \__ \/ / /|_/ /\__ \ __/ / copyright (c) 2011 Jakob Odersky **
** ___/ / / / / /___/ / / __/ **
** /____/_/_/ /_//____/ /____/ **
\* */
package sims.dynamics
import sims.dynamics.constraints.Constraining
/** A base trait for all joints between two bodies. */
trait Joint extends Constraining {
/** First body connected by this joint. */
def body1: Body
/** Second body connected by this joint. */
def body2: Body
}
|