#include <LODGenerator.h>
|
|
bool | operator() (const Vector3 &v1, const Vector3 &v2) const |
| |
|
|
static bool | EqF (float x, float y) |
| |
|
static bool | LessF (float x, float y) |
| |
This class is used to generate object LODs by comparing vertecies. It is passed as set comparator to filter unique vertecies with some threshold
- Warning
- TODO: make this class thread-safe and non-static
§ Threshold
| float MxEngine::Vector3Cmp::Threshold = 100.0f |
|
inlinestatic |
threshold which sets epsilon to ignore. If vec_abs(v1 - v2) == vec(threshold), v1 considered equal to v2
The documentation for this struct was generated from the following file: