![]() |
Public API Reference |
![]() |
This subclass of csTriangleLODAlgo uses a very simple cost metric to calculate the vertex cost. More...
#include <csgeom/trimeshlod.h>
Public Member Functions | |
virtual void | CalculateCost (csTriangleVerticesCost *vertices, csTriangleVertexCost *vertex) |
Calculate the minimal cost of collapsing this vertex to some other. |
This subclass of csTriangleLODAlgo uses a very simple cost metric to calculate the vertex cost.
It will basically just consider the length of the edge.
Definition at line 82 of file trimeshlod.h.
virtual void csTriangleLODAlgoEdge::CalculateCost | ( | csTriangleVerticesCost * | vertices, |
csTriangleVertexCost * | vertex | ||
) | [virtual] |
Calculate the minimal cost of collapsing this vertex to some other.
Also remember which other vertex was selected for collapsing to.
Implements csTriangleLODAlgo.