MCPcopy Create free account
hub / github.com/17cupsofcoffee/nova / blend_factor

Method blend_factor

src/time.rs:61–63  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

59 }
60
61 pub fn blend_factor(&self) -> f32 {
62 self.accumulated_time.as_secs_f32() / self.target_time.as_secs_f32()
63 }
64
65 fn advance_time(&mut self) {
66 let current_time = Instant::now();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected