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

project_triangle

Function project_triangle 

Source
pub fn project_triangle(v0: Vec3I16, v1: Vec3I16, v2: Vec3I16) -> [Projected; 3]
Expand description

Project three vertices as a batch via RTPT – one GTE call, three results out of the SXY FIFO + SZ FIFO. Slightly faster than three successive project_vertex calls because RTPT shares setup.

The returned array is [v0_result, v1_result, v2_result].