MCPcopy Create free account
hub / github.com/eliotbo/bevy_plot / compute_bounds_world

Method compute_bounds_world

src/plot/plot.rs:984–989  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

982 }
983
984 pub(crate) fn compute_bounds_world(&self) -> PlotCanvasBounds {
985 let lo = self.to_local(self.bounds.lo);
986 let up = self.to_local(self.bounds.up);
987
988 PlotCanvasBounds { up, lo }
989 }
990
991 /// Convert a point in plot coordinates to a point in world coordinates modulo the canvas position
992 pub fn to_local(&self, v: Vec2) -> Vec2 {

Callers 2

plot_fnFunction · 0.80
plot_fnFunction · 0.80

Calls 1

to_localMethod · 0.80

Tested by

no test coverage detected