Skip to main content

rk4_step

Function rk4_step 

Source
pub fn rk4_step(attractor: AttractorType, state: Vec3, dt: f32) -> Vec3
Expand description

Single RK4 step. More accurate than Euler at the cost of 4× function evaluations.