Vertices now know whether they are on the edge of an indexed surface patch. This allows improved smoothing.
This commit is contained in:
@ -58,6 +58,16 @@ namespace PolyVox
|
||||
return position;
|
||||
}
|
||||
|
||||
bool SurfaceVertex::isEdgeVertex(void) const
|
||||
{
|
||||
return m_bIsEdgeVertex;
|
||||
}
|
||||
|
||||
void SurfaceVertex::setEdgeVertex(bool isEdgeVertex)
|
||||
{
|
||||
m_bIsEdgeVertex = isEdgeVertex;
|
||||
}
|
||||
|
||||
void SurfaceVertex::setMaterial(float materialToSet)
|
||||
{
|
||||
material = materialToSet;
|
||||
|
Reference in New Issue
Block a user