mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-08 23:20:12 +00:00
rv::som:: changed the type of analyze_each to ld, so that it can be animated
This commit is contained in:
parent
065666a5a1
commit
42cc598dd0
@ -366,7 +366,7 @@ void distribute_neurons() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int last_analyze_step;
|
int last_analyze_step;
|
||||||
int analyze_each;
|
ld analyze_each;
|
||||||
|
|
||||||
void analyze() {
|
void analyze() {
|
||||||
|
|
||||||
@ -1789,7 +1789,7 @@ auto hooks4 = addHook(hooks_clearmemory, 100, clear)
|
|||||||
param_b(show_rings, "som_show_rings");
|
param_b(show_rings, "som_show_rings");
|
||||||
param_b(animate_once, "som_animate_once");
|
param_b(animate_once, "som_animate_once");
|
||||||
param_b(animate_loop, "som_animate_loop");
|
param_b(animate_loop, "som_animate_loop");
|
||||||
param_i(analyze_each, "som_analyze_each");
|
param_f(analyze_each, "som_analyze_each");
|
||||||
param_f(dispersion_precision, "som_dispersion")
|
param_f(dispersion_precision, "som_dispersion")
|
||||||
-> set_reaction([] { state &=~ KS_DISPERSION; });
|
-> set_reaction([] { state &=~ KS_DISPERSION; });
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user