projective-grid 0.9.0

Generic 2D projective grid graph construction, traversal, and homography tools
Documentation
1
2
3
4
5
6
7
8
9
10
//! Internal helpers for generic float operations not available on `RealField`.

use crate::Float;

/// Convert an `f64` literal to `F`.
///
/// Shorthand for `F::from_subset(&val)` — keeps call sites concise.
pub(crate) fn lit<F: Float>(val: f64) -> F {
    F::from_subset(&val)
}