MCPcopy Create free account
hub / github.com/Notgnoshi/generative / quad_j2y

Function quad_j2y

tools/grid.rs:249–251  ·  view source on GitHub ↗
(j: usize, delta_y: f64, min_y: f64)

Source from the content-addressed store, hash-verified

247}
248
249fn quad_j2y(j: usize, delta_y: f64, min_y: f64) -> f64 {
250 (j as f64) * delta_y + min_y
251}
252
253fn quad_grid(width: usize, height: usize, size_x: f64, size_y: f64) -> GeometryGraph<Undirected> {
254 let nodes = (width + 1) * (height + 1);

Callers 2

quad_gridFunction · 0.85
ragged_gridFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected