|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectm3g04.mesh.MeshUtils
public class MeshUtils
Utility methods for meshes.
| Constructor Summary | |
|---|---|
private |
MeshUtils()
Constructor has private access because class contains static methods exclusively. |
| Method Summary | |
|---|---|
static void |
addRandomColors(javax.microedition.m3g.Mesh mesh)
Assigns a random color to each vertex of a mesh. |
static void |
copyTexCoords(javax.microedition.m3g.Mesh mesh,
int src,
int dest)
Duplicates texture coordinates from one unit to another. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
private MeshUtils()
| Method Detail |
|---|
public static void addRandomColors(javax.microedition.m3g.Mesh mesh)
mesh - mesh to add color to.
public static void copyTexCoords(javax.microedition.m3g.Mesh mesh,
int src,
int dest)
mesh - mesh with texture coordinates.src - source texture unit.dest - destination texture unit.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||