pub fn main_wave_geometry_raw(
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),
blending: bool,
) -> Option<WaveGeom>Expand description
The per-wave part of DrawWave’s loop (for it in 0..its): the vertices and the alpha of one wave before
MD2’s “don’t draw wave if alpha < 0.004” test, which only applies to the (possibly blended) final alpha.
blending is m_pState->m_bBlending: the wave modes that close their loop by duplicating the first vertex
do not while blending. None for an unsupported mode.