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

transform_vertex

Function transform_vertex 

Source
pub fn transform_vertex(v: Vec3I16) -> Vec3I32
Expand description

Transform one vertex by the currently loaded RT/TR matrix without perspective projection. Returns MAC1/2/3 in view-space units.

Assumes the rotation matrix and translation have already been set.