|
1 | 1 | ## Version history |
2 | 2 |
|
| 3 | +### 0.2.2 (2018.09.18) |
| 4 | +This release brings polygon tessellation, clipping and offsetting, straight skeleton generation and a completely rewritten Buildings example. |
| 5 | +#### Features: |
| 6 | +* Integrated [LibTessDotNet](https://github.com/speps/LibTessDotNet) library, see Tessellator wrapper class and it's example for details. |
| 7 | +* Integrated [Clipper](http://www.angusj.com/delphi/clipper.php) library, use PathClipper and PathOffsetter for seamless interoperability with Unity. |
| 8 | +* Added [straight skeleton](https://en.wikipedia.org/wiki/Straight_skeleton) generator. |
| 9 | +* New architecture for the Buildings example, all roof types now support convex and concave polygons. |
| 10 | +* Added Circle3. |
| 11 | +* Added serializable RendererProperties, use Renderer.ApplyProperties extension to apply them to a target renderer. |
| 12 | + |
| 13 | +#### Improvements: |
| 14 | +* Geometry: |
| 15 | + * Added OffsetPolygon, GetAngle, GetAngleBisector, Polygon2, StarPolygon2, PointsInCircle*, PointsOnSphere, GetRect and GetCircumradius. |
| 16 | +* Segment2 and Segment3: |
| 17 | + * Added direction and length. |
| 18 | +* Intersect3D: |
| 19 | + * Added SphereSphere. |
| 20 | +* VectorE: |
| 21 | + * Added RotateCCW, RotateCW45, RotateCCW45, RotateCW90 and RotateCCW90. |
| 22 | +* PTUtils: |
| 23 | + * Added new constants: Sqrt05, Sqrt2, Sqrt5, GoldenAngle. |
| 24 | +* MeshDraft: |
| 25 | + * Added calculateBounds flag for ToMesh. |
| 26 | + * Added support for 32 bit Mesh index buffers. |
| 27 | +* CompoundMeshDraft: |
| 28 | + * Added calculateBounds flag for ToMeshWithSubMeshes. |
| 29 | + * Added support for 32 bit Mesh index buffers. |
| 30 | + * Added Move, Rotate and other methods from MeshDraft. |
| 31 | + |
| 32 | +#### Changes: |
| 33 | +* Minimum supported Unity version is now 2018.1. |
| 34 | +* Renamed PTUtils string constants. |
| 35 | +* Renamed Circle to Circle2. |
| 36 | +* Moved `Examples\Resources` to `Examples\Common\Resources`. |
| 37 | +* MeshDraft: Made normals optional in AddTriangle and AddQuad. |
| 38 | +* Intersect2D: Removed LineLine overload with IntersectionType return type. |
| 39 | + |
| 40 | + |
3 | 41 | ### 0.2.1 (2018.06.20) |
4 | 42 | This release brings new computational geometry algorithms and geometric primitives. |
5 | 43 | #### Features: |
|
0 commit comments