blob: 614fbf2d0d7c9339363e203d9f4102c2bdb29851 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
/*
* Icosahedron.java
* TCSS 491 Computational Worlds
* Phillip Cardon
*/
package tesseract.objects;
import javax.media.j3d.Shape3D;
import javax.media.j3d.TransformGroup;
import javax.vecmath.Vector3f;
/**
* Represents an Icosahedron, a 20 sided object who's
* faces are all equal equilateral triangles.
* @author Phillip Cardon
* @verson 0.9a
*/
public class Icosahedron extends ForceableObject {
//CONSTANTS
//private static final Color DEFAULTCOLOR;
//FIELDS
private Shape3D myShape;
private TransformGroup myTG;
//CONSTRUCTORS
/**
* Create new Icosahedron.
*/
public Icosahedron(final Vector3f position, final float mass, final Vector3f scale) {
this(position, mass);
}
/**
* Create new Icosahedron.
* @param position Initial Position.
* @param mass object mass.
*/
public Icosahedron(final Vector3f position, final float mass) {
super(position, mass);
// TODO Auto-generated constructor stub
}
}
|