Function vox_geometry_rust::math_utils::get_barycentric [−][src]
pub fn get_barycentric<T: Float>(
x: T,
i_low: isize,
i_high: isize,
i: &mut isize,
f: &mut T
)
Expand description
Gets the barycentric coordinate.
-
Parameter x The input value.
-
Parameter i_low The lowest index.
-
Parameter i_high The highest index.
-
parameter: i The output index.
-
parameter: t The offset from \p i.
-
tparam T Value type.