fix(tests): repair solid_model tri_count helper after upstream merge

mesh_from_solid was removed in the upstream merge; use tessellation(body).mesh.triangles directly.
This commit is contained in:
Sebastian 2026-08-24 19:01:19 +02:00
commit 2e29f6c59e

View file

@ -441,9 +441,7 @@ mod tests {
use super::*;
fn tri_count(body: &Body) -> usize {
mesh_from_solid(body, [0.7, 0.7, 0.7, 1.0])
.map(|m| m.lods[0].indices.len() / 3)
.unwrap_or(0)
tessellation(body).mesh.triangles.len()
}
#[test]