Add support for smart splitting (#2676)

* Add support for smart splitting

* clang-format

* smart_split default to 0, and make smart_split behave like preserve_split
This commit is contained in:
Daniel Adolfsson 2023-07-11 13:37:25 +02:00 committed by GitHub
parent 29d017f54b
commit 64e7d5345d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 37 additions and 1 deletions

View file

@ -48,4 +48,6 @@ class Vector2D {
Vector2D clamp(const Vector2D& min, const Vector2D& max = Vector2D()) const;
Vector2D floor() const;
bool inTriangle(const Vector2D& p1, const Vector2D& p2, const Vector2D& p3) const;
};