mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
rogueviz::kohonen:: colored rings in 3D
This commit is contained in:
parent
5d5dc62f9e
commit
f99b52358e
@ -276,6 +276,14 @@ void analyze() {
|
||||
coloring();
|
||||
}
|
||||
|
||||
bool coloring_3d(cell *c, const transmatrix& V) {
|
||||
if(WDIM == 3 && on)
|
||||
queuepoly(face_the_player(V), cgi.shRing, darkena(c->landparam_color, 0, 0xFF));
|
||||
return false;
|
||||
}
|
||||
|
||||
int khd = addHook(hooks_drawcell, 100, coloring_3d);
|
||||
|
||||
// traditionally Gaussian blur is used in the Kohonen algoritm
|
||||
// but it does not seem to make much sense in hyperbolic geometry
|
||||
// especially wrapped one.
|
||||
|
Loading…
Reference in New Issue
Block a user