Starting resize support.
This commit is contained in:
parent
cea3d2c39f
commit
9ade0e2d4b
26 changed files with 197 additions and 44 deletions
|
@ -38,5 +38,8 @@ void RectangleNode::updateMesh()
|
|||
const auto rect = Rectangle(mLocation, mWidth, mHeight);
|
||||
|
||||
auto mesh = MeshPrimitives::build(rect);
|
||||
auto color = getFillColor();
|
||||
|
||||
mesh->addConstantFaceVectorAttribute("Color", color.getAsVectorDouble());
|
||||
mMesh = std::move(mesh);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue