ballistics_calculate_zero_angle

Function ballistics_calculate_zero_angle 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ballistics_calculate_zero_angle( inputs: *const FFIBallisticInputs, wind: *const FFIWindConditions, atmosphere: *const FFIAtmosphericConditions, zero_distance: c_double, ) -> c_double
Expand description

Calculate the zero angle for a target distance through the C ABI.

ยงSafety

inputs may be null, in which case this function returns NaN. When non-null, it must point to a valid, properly aligned FFIBallisticInputs that remains readable and is not mutated for the duration of this call. wind and atmosphere may also be null; each non-null pointer has the same requirements for its corresponding type.