|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectssmith.opengl.shapes.Sphere
public class Sphere
| Field Summary | |
|---|---|
float |
radius
|
float |
x
|
float |
y
|
float |
z
|
| Constructor Summary | |
|---|---|
Sphere(float x,
float y,
float z,
float rad)
|
|
| Method Summary | |
|---|---|
void |
draw(net.java.games.jogl.GL gl,
net.java.games.jogl.GLU glu)
|
boolean |
intersects(Sphere other)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public float x
public float y
public float z
public float radius
| Constructor Detail |
|---|
public Sphere(float x,
float y,
float z,
float rad)
| Method Detail |
|---|
public boolean intersects(Sphere other)
public void draw(net.java.games.jogl.GL gl,
net.java.games.jogl.GLU glu)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||