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

draw_tri_flat

Function draw_tri_flat 

Source
pub fn draw_tri_flat(verts: [(i16, i16); 3], r: u8, g: u8, b: u8)
👎Deprecated:

use gpu.draw(&TriFlat::new(..))

Expand description

Draw a flat-shaded triangle.