Jimcpp 2.1.0
Jimcpp is a high-performance c++ graphics engine.
|
Vertex manipulator to set vertex color to one of two values depending on a given threshold. More...
#include <jimcpp/core/engine/SVertexManipulator.hpp>
Public Member Functions | |
SVertexColorThresholdManipulator (u8 threshold, video::SColor low, video::SColor high) | |
void | operator() (video::S3DVertex &vertex) const |
Vertex manipulator to set vertex color to one of two values depending on a given threshold.
If average of the color value is >Threshold the High color is chosen, else Low.