Function linear_kinetic_energy
pub fn linear_kinetic_energy(mass: f64, velocity: f64) -> Option<f64>Expand description
Computes translational kinetic energy using KE = 0.5mv².
§Examples
use use_rigidbody::linear_kinetic_energy;
assert_eq!(linear_kinetic_energy(2.0, 3.0), Some(9.0));