kpps working

This commit is contained in:
Marc Planard 2023-07-06 22:17:49 +02:00
parent 538f13f539
commit 5ff4ecacdd

View File

@ -97,7 +97,7 @@ fn run_all() -> LJResult<()> {
&world_state &world_state
)?; )?;
// For now, draw all the time // For now, draw all the time
tracer.draw(frame, 2_000)?; tracer.draw(frame, world_state.kpps)?;
}, },
Order::Intensity => { Order::Intensity => {
world_state.intensity = rs.get_int("intensity")? world_state.intensity = rs.get_int("intensity")?
@ -106,6 +106,9 @@ fn run_all() -> LJResult<()> {
Order::Edh => { Order::Edh => {
world_state.edh = rs.get_edh()?; world_state.edh = rs.get_edh()?;
}, },
Order::Kpps => {
world_state.kpps = rs.get_int("kpps")?;
},
// Order::ClientKey => rs.client_key(), // Order::ClientKey => rs.client_key(),
// Order::ColorBalance => {}, // Order::ColorBalance => {},