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 committed 2026-08-24 19:01:19 +02:00
1 parent 3d35919656
commit 2e29f6c59e
1 file changed
+1 -3
+1 -3
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]