Trait lyon::extra::triangle_rasterizer::VertexData
[−]
[src]
pub trait VertexData { fn interpolate(v1: &Self,
v2: &Self,
v3: &Self,
w1: f32,
w2: f32,
w3: f32)
-> Self; fn position(&self) -> TypedPoint2D<f32, UnknownUnit>; }
Required Methods
fn interpolate(v1: &Self,
v2: &Self,
v3: &Self,
w1: f32,
w2: f32,
w3: f32)
-> Self
v2: &Self,
v3: &Self,
w1: f32,
w2: f32,
w3: f32)
-> Self
fn position(&self) -> TypedPoint2D<f32, UnknownUnit>
Implementors
impl VertexData for TypedPoint2D<f32, UnknownUnit>