Add a parameter for shapes to not drop shadow.

This commit is contained in:
Godzil
2020-02-22 17:38:25 +00:00
parent 81e323fdf4
commit b251b632ac
3 changed files with 13 additions and 7 deletions

View File

@@ -15,6 +15,7 @@
Shape::Shape(ShapeType type)
{
this->dropShadow = true;
this->type = type;
this->transformMatrix = Matrix4().identity();
this->inverseTransform = this->transformMatrix.inverse();