jjdh.opengl.meshes.common
Class Sphere
java.lang.Object
jjdh.opengl.meshes.core.AbstractMesh
jjdh.opengl.meshes.core.VertexArrayMesh
jjdh.opengl.meshes.common.Sphere
- All Implemented Interfaces:
- Renderable, Mesh
- Direct Known Subclasses:
- MirrorSphere
public class Sphere
- extends VertexArrayMesh
Field Summary |
protected int |
modulo
|
Constructor Summary |
Sphere(float radius,
int latitude,
int longitude)
|
Method Summary |
protected int |
getVertice(int b,
int l)
|
Methods inherited from class jjdh.opengl.meshes.core.AbstractMesh |
applyMaterial, applyPosition, applyRotation, applyScaling, getMaterial, getPosition, move, render, rotate, setMaterial, setPosition, setRotation, setScale, toString, unApplyMaterial |
modulo
protected final int modulo
Sphere
public Sphere(float radius,
int latitude,
int longitude)
- Parameters:
radius
- the radius of the Spherelatitude
- (in German: "Breitengrade")longitude
- (// in German: "L?ngengrade")
getVertice
protected int getVertice(int b,
int l)
Copyright © 2006 Jonas Jacobi and Dennis Heidsiek. All Rights Reserved.