Skip to main content

rope

Function rope 

Source
pub fn rope(fp: FpUnit, v: &mut [f32], cos: &[f32], sin: &[f32], neox: bool)
Expand description

A head turned by a rotary table: pair i of the first 2·cos.len() elements — (i, i + cos.len()) under NEOX, (2i, 2i + 1) otherwise — becomes (x₀·cos_i − x₁·sin_i, x₀·sin_i + x₁·cos_i); the rest pass through.