pub fn write_lp_vec3(writer: &mut impl Write, velocity: DVec3) -> Result<()>Expand description
Writes a velocity vector in LpVec3 format.
Mirrors vanilla’s LpVec3.write().
Zero velocity is encoded as a single 0 byte. Non-zero velocity uses 6+ bytes with bit-packed components.