Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

horizontal_triangle_at_local

Function horizontal_triangle_at_local 

pub const fn horizontal_triangle_at_local(
    split_id: u8,
    local_x: i32,
    local_z: i32,
    sector_size: i32,
) -> usize
Expand description

Runtime horizontal triangle for a local X/Z point. Coordinates use the .psxw convention: local Z=0 is the north edge.