pub fn main_wave_geometry(
mw: &MainWave,
wl: &[f32],
wr: &[f32],
spec_l: &[f32],
spec_r: &[f32],
time: f32,
imm_rel: [f32; 3],
imm_abs: [f32; 3],
tex_w: u32,
aspect: (f32, f32),
) -> Option<WaveGeom>Expand description
Port of the single-waveform part of DrawWave (no preset blending: its == 1).
wl,wr: the output ofprepare_main_waveform.time:GetTime()as float.imm_rel:[bass, mid, treb].imm_abs:mysound.imm.tex_w:m_nTexSizeX(several modes switch on it).aspect:(m_fAspectX, m_fAspectY).
Returns None when MD2 would skip the draw (alpha < 0.004, unsupported mode).