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

average_z_triangle

Function average_z_triangle 

Source
pub fn average_z_triangle() -> u16
Expand description

Read the last three projected Z values and compute their average via AVSZ3 (weighted by ZSF3). Returns OTZ – the depth key most renderers use for ordering-table inserts.