[][src]Trait lyon_extra::triangle_rasterizer::VertexData

pub trait VertexData {
    fn interpolate(
        v1: &Self,
        v2: &Self,
        v3: &Self,
        w1: f32,
        w2: f32,
        w3: f32
    ) -> Self;
fn position(&self) -> Vector; }

Required methods

fn interpolate(
    v1: &Self,
    v2: &Self,
    v3: &Self,
    w1: f32,
    w2: f32,
    w3: f32
) -> Self

fn position(&self) -> Vector

Loading content...

Implementors

impl VertexData for Vector[src]

Loading content...