geometryOf method
The triangles of the mesh called meshName in model space, or null
when it has none or keeps them only on the GPU.
Implementation
@override
ModelGeometry? geometryOf(String meshName) {
final data = _data;
if (data == null) return null;
return _geometry.putIfAbsent(meshName, () {
final index = _meshNames.indexOf(meshName);
if (index < 0) return null;
return trianglesOf(data, mesh: index);
});
}