fn encode_plane(normal_vec: Vector3, d: &str) -> Plane {
	let d_parsed: f32 = d.trim().parse().expect("Unable to cast to f32");

	return Plane {
		normal: normal_vec,
		d: d_parsed,
	};
}
/// Returns a Plane with the provided normal Vector and d value.
///
/// # Arguments
///
/// `normal_vec` - The Plane's normal vector.
/// `d` - The d value of the Plane.
Returns a Plane with the provided normal Vector and d value.
Returns a Plane with the provided normal Vector and d value .
fn encode_plane(normal_vec: Vector3, d: &str) -> Plane {
	let d_parsed: f32 = d.trim().parse().expect("Unable to cast to f32");
	return Plane {
		normal: normal_vec,
		d: d_parsed,
	};
}
fn encode_plane ( normal_vec : Vector3 , d : & str ) -> Plane { let d_parsed : f32 = d . trim ( ) . parse ( ) . expect ( " " ) ; return Plane { normal : normal_vec , d : d_parsed , } ; }
Returns a Plane with the provided normal Vector and d value.
Returns a Plane with the provided normal Vector and d value .
normal_vec
Vector3
d
&str