summaryrefslogtreecommitdiff
path: root/src/alden/CollisionInfo.java
blob: 9cefcd05c3001faa38148ce6960bde7ae4c7f949 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package alden;
import javax.vecmath.*;

@SuppressWarnings("restriction")
public class CollisionInfo {
	public Vector3f contactPoint;
	public Vector3f contactNormal;
	public float penetration;
	
	public CollisionInfo(Vector3f contactPoint, Vector3f contactNormal, float penetration) {
		this.contactPoint = contactPoint;
		this.contactNormal = contactNormal;
		this.penetration = penetration;
	}
}