bounds property
Aabb3
get
bounds
The box around every vertex; empty for no vertices.
Implementation
Aabb3 get bounds {
final out = Aabb3();
for (var i = 0; i < positions.length; i += 3) {
out.addXYZ(positions[i], positions[i + 1], positions[i + 2]);
}
return out;
}