Levels of detail for brush stroke decreased to save on memory

This commit is contained in:
Yousef Khadadeh 2025-07-21 13:01:48 +03:00
parent 241a0a9588
commit f82e626686
6 changed files with 6 additions and 32 deletions

View file

@ -47,7 +47,7 @@ class DrawBrushStroke : public DrawComponent {
virtual SCollision::AABB<float> get_obj_coord_bounds() const override;
sk_sp<SkVertices> vertices;
std::array<sk_sp<SkVertices>, 5> verticesMipMap;
std::array<sk_sp<SkVertices>, 3> verticesMipMap;
SCollision::BVHContainer<float> collisionTree;
private: