feat: use attribute for glmesh indices

This commit is contained in:
parker
2025-07-03 00:27:48 +01:00
parent 1c708c62dc
commit 503ca43713
4 changed files with 31 additions and 19 deletions

View File

@@ -9,6 +9,7 @@ using namespace enzo;
geo::Geometry::Geometry()
{
addVector3Attribute(ga::AttrOwner::POINT, "P");
addIntAttribute(ga::AttrOwner::VERTEX, "point");
}
ga::AttributeHandle<int> geo::Geometry::addIntAttribute(ga::AttributeOwner owner, std::string name)