Lerp

Trait Lerp 

Source
pub trait Lerp {
    // Required method
    fn lerp(self, other: Self, t: f32) -> Self;
}
Expand description

Helper trait that exposes a generic lerp function for various glam types

Required Methods§

Source

fn lerp(self, other: Self, t: f32) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Lerp for Quat

Source§

fn lerp(self, other: Self, t: f32) -> Self

Source§

impl Lerp for Vec3

Source§

fn lerp(self, other: Self, t: f32) -> Self

Implementors§