Color quantization: Difference between revisions

Content added Content deleted
m (Updated D entry)
Line 275: Line 275:
Tuple!(Cluster, Cluster) subdivide(in Col c, in float nVolProd,
Tuple!(Cluster, Cluster) subdivide(in Col c, in float nVolProd,
in Col vol, Col[] pixels)
in Col vol, Col[] pixels)
pure /*nothrow*/ {
/*pure nothrow*/ {
bool delegate(Col c) partFunc;
bool delegate(Col c) partFunc;
final switch (largestAxis(vol)) {
final switch (largestAxis(vol)) {