org.auxilum.opengl.scene
Class Mesh

java.lang.Object
  extended byorg.auxilum.opengl.scene.Mesh

public class Mesh
extends java.lang.Object


Constructor Summary
Mesh(java.lang.String meshName, int meshFlag, int meshMaterialIndex, double[][] vertices, double[][] normals, int[][] triangleIndexes)
           
 
Method Summary
 Material getMaterial()
          Method to get the Material object of this mesh.
 int getMeshMaterialIndex()
           
 double[][] getNormals()
           
 int[][] getTriangleCoordIndexes()
           
 double[][] getVerticeCoords()
           
 void setMaterial(Material material)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mesh

public Mesh(java.lang.String meshName,
            int meshFlag,
            int meshMaterialIndex,
            double[][] vertices,
            double[][] normals,
            int[][] triangleIndexes)
Method Detail

setMaterial

public void setMaterial(Material material)

getVerticeCoords

public double[][] getVerticeCoords()

getNormals

public double[][] getNormals()

getTriangleCoordIndexes

public int[][] getTriangleCoordIndexes()

getMeshMaterialIndex

public int getMeshMaterialIndex()

getMaterial

public Material getMaterial()
Method to get the Material object of this mesh.