org.deegree.rendering.r3d.opengl.tesselation
Class TexturedVertex
java.lang.Object
org.deegree.rendering.r3d.opengl.tesselation.Vertex
org.deegree.rendering.r3d.opengl.tesselation.TexturedVertex
public class TexturedVertex
- extends Vertex
The TexturedVertex
a textured vertex.
- Version:
- $Revision: 30126 $, $Date: 2011-03-22 11:11:00 +0100 (Tue, 22 Mar 2011) $
- Author:
- Rutger Bezema, last edited by: $Author: aschmitz $
Constructor Summary |
TexturedVertex(float[] coordinates,
float[] normal,
float[] textureCoordinates)
Construct a textured vertex with given color and normal. |
TexturedVertex
public TexturedVertex(float[] coordinates,
float[] normal,
float[] textureCoordinates)
- Construct a textured vertex with given color and normal.
- Parameters:
coordinates
- of the vertex may not be null
and must have a length of 3normal
- if null
1,0,0 will be used.textureCoordinates
- of the vertex may not be null
and must have a length of 2
getTextureCoords
public float[] getTextureCoords()
- Returns:
- the u and v (x,y) texture coordinates of this vertex.
toString
public String toString()
- Overrides:
toString
in class Vertex
Copyright © 2011. All Rights Reserved.