nl.tudelft.goal.ut2004.visualizer.map
Class BlendTriangle
java.lang.Object
nl.tudelft.goal.ut2004.visualizer.map.BlendTriangle
public class BlendTriangle
- extends Object
Storage structure used during blending phase of rendering.
Stores triangle in worldview with necessary info. For now only colors
Only triangle to make sorting and possible intersections easy. Poly may be more fitting.
- Author:
- Honza
Method Summary |
BlendVertex[] |
getVerts()
Return actual collection of vers, not a copy |
void |
setVertex(int i,
cz.cuni.amis.pogamut.base3d.worldview.object.Location location,
GlColor color)
Create new BlendVertex for vertex i of poly. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
verts
protected BlendVertex[] verts
- Vertex of triangle.
BlendTriangle
public BlendTriangle()
getVerts
public BlendVertex[] getVerts()
- Return actual collection of vers, not a copy
setVertex
public void setVertex(int i,
cz.cuni.amis.pogamut.base3d.worldview.object.Location location,
GlColor color)
- Create new BlendVertex for vertex i of poly.
- Parameters:
i
- index of vertex, from zero to num of vertslocation
- location fo vertexcolor
- color f vertex
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.