cz.cuni.jagrlib.piece
Class OBJFileFormat.Vertex

java.lang.Object
  extended by cz.cuni.jagrlib.piece.OBJFileFormat.Vertex
Enclosing class:
OBJFileFormat

protected static class OBJFileFormat.Vertex
extends java.lang.Object

Vertex triple [ coords, texture, normal ].


Field Summary
 int coord
          Coordinate handle.
 int normal
          Normal vector handle (-1 if not present).
 int texture
          Texture-coordinate handle (-1 if not present).
 
Constructor Summary
OBJFileFormat.Vertex(int coo, int tex, int nor)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

coord

public int coord
Coordinate handle.


texture

public int texture
Texture-coordinate handle (-1 if not present).


normal

public int normal
Normal vector handle (-1 if not present).

Constructor Detail

OBJFileFormat.Vertex

public OBJFileFormat.Vertex(int coo,
                            int tex,
                            int nor)
Method Detail

equals

public final boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public final int hashCode()
Overrides:
hashCode in class java.lang.Object