mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-23 07:27:07 +00:00
nilrider:: immediate reaction to camera distance
This commit is contained in:
parent
2a9a219e61
commit
28b7800d68
@ -413,7 +413,8 @@ auto celldemo = arg::add3("-unilcycle", initialize) + arg::add3("-unilplan", []
|
|||||||
param_f(whrad, "nilrider_radius")
|
param_f(whrad, "nilrider_radius")
|
||||||
->editable(0, 0.5, 0.01, "wheel radius", "note: this parameter is just visual, it does not affect the physics in any way", 'w');
|
->editable(0, 0.5, 0.01, "wheel radius", "note: this parameter is just visual, it does not affect the physics in any way", 'w');
|
||||||
param_f(whdist, "nilrider_dist")
|
param_f(whdist, "nilrider_dist")
|
||||||
->editable(0, 5, 0.05, "camera distance", "how far is the unicycle from the camera", 'd');
|
->editable(0, 5, 0.05, "camera distance", "how far is the unicycle from the camera", 'd')
|
||||||
|
->set_reaction([] { curlev->current.centerview(curlev); });
|
||||||
param_f(min_gfx_slope, "min_gfx_slope")
|
param_f(min_gfx_slope, "min_gfx_slope")
|
||||||
->editable(-90*degree, 90*degree, degree, "min camera slope", "affected by up/down", 'm');
|
->editable(-90*degree, 90*degree, degree, "min camera slope", "affected by up/down", 'm');
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user