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

Function tri_j2y

tools/grid.rs:151–153  ·  view source on GitHub ↗
(j: usize, triangle_height: f64)

Source from the content-addressed store, hash-verified

149}
150
151fn tri_j2y(j: usize, triangle_height: f64) -> f64 {
152 (j as f64) * triangle_height
153}
154
155fn tri_grid(width: usize, height: usize, size_x: f64, size_y: f64) -> GeometryGraph<Undirected> {
156 let nodes = (width + 1) * (height + 1);

Callers 1

tri_gridFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected