Struct transvoxel::structs::Position [−][src]
Expand description
A world space position
Fields
x: f32
Expand description
X
y: f32
Expand description
Y
z: f32
Expand description
Z
Implementations
impl Position
[src]
impl Position
[src]pub fn interp_toward(&self, other: &Position, factor: f32) -> Position
[src]
pub fn interp_toward(&self, other: &Position, factor: f32) -> Position
[src]Interpolate between this self
position and other
, by the given factor
(0 giving self, 1 giving other)