pathtracer/src/serialize/coefficient.rs
2020-03-23 12:42:36 +01:00

7 lines
138 B
Rust

//! Helper functions deserialize coefficients.
/// Returns the identity for a f32, i.e. 1.0.
pub fn default_identity() -> f32 {
1.
}