jjdh API

jjdh.opengl.meshes.common
Class Sphere

java.lang.Object
  extended by jjdh.opengl.meshes.core.AbstractMesh
      extended by jjdh.opengl.meshes.core.VertexArrayMesh
          extended by jjdh.opengl.meshes.common.Sphere
All Implemented Interfaces:
Renderable, Mesh
Direct Known Subclasses:
MirrorSphere

public class Sphere
extends VertexArrayMesh


Field Summary
protected  int modulo
           
 
Fields inherited from class jjdh.opengl.meshes.core.VertexArrayMesh
job
 
Fields inherited from class jjdh.opengl.meshes.core.AbstractMesh
material, position, rotation, scale
 
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.VertexArrayMesh
bind, dispose, privateRender
 
Methods inherited from class jjdh.opengl.meshes.core.AbstractMesh
applyMaterial, applyPosition, applyRotation, applyScaling, getMaterial, getPosition, move, render, rotate, setMaterial, setPosition, setRotation, setScale, toString, unApplyMaterial
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

modulo

protected final int modulo
Constructor Detail

Sphere

public Sphere(float radius,
              int latitude,
              int longitude)
Parameters:
radius - the radius of the Sphere
latitude - (in German: "Breitengrade")
longitude - (// in German: "L?ngengrade")
Method Detail

getVertice

protected int getVertice(int b,
                         int l)

jjdh API

Copyright © 2006 Jonas Jacobi and Dennis Heidsiek. All Rights Reserved.