Clean opengl rendering.

This commit is contained in:
James Grogan 2022-11-16 09:39:05 +00:00
parent 4849d83fcf
commit 798cb365d7
19 changed files with 483 additions and 274 deletions

View file

@ -45,6 +45,6 @@ void RectangleNode::updateMesh()
auto mesh = MeshPrimitives::build(rect);
auto color = getFillColor();
mesh->addConstantFaceVectorAttribute("Color", color.getAsVectorDouble());
mesh->addVectorAttribute("Color", color.getAsVectorDouble());
mMesh = std::move(mesh);
}