MCPcopy Create free account
hub / github.com/JakkuSakura/plotters-gpui / next

Method next

examples/3d-plot2.rs:64–74  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

62 }
63
64 fn next(&mut self) {
65 if self.last.elapsed().as_millis() < 25 {
66 return;
67 }
68
69 self.last = std::time::Instant::now();
70 self.pitch += 1;
71 if self.pitch >= 157 {
72 self.pitch = 0;
73 }
74 }
75}
76
77impl PlottersChart for MyChart {

Callers 2

fill_polygonMethod · 0.80
plotMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected