Skip to content

Commit

Permalink
Update for 0.6.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklockwood committed Nov 3, 2022
1 parent 1353525 commit bbbed29
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 8 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,16 @@
## [0.6.1](https://github.com/nicklockwood/Euclid/releases/tag/0.6.1) (2022-11-02)

- Added `Transformable` protocol for all types that can be transformed
- Added initializer to create an `SCNMatrix4` from a `Transform`
- Transformable types (`Vector`, `Polygon`, `Mesh`, etc.) now support in-place transforms
- Swapped disfavored rotation method overloads from `Rotation` to `Quaternion`
- Added transform methods and `Transformable` conformance to `LineSegment`
- Normalized `Quaternion` at creation time (which fixes an assertion failure in `Plane`)
- Attempting to load a `Mesh` from an inaccessible URL now throws instead of failing silently
- Fixed assertion failure due to `sortedByPlane()` regression in 0.6.0
- Negative scale factors now behave as expected when applied to `Vertex`
- Topology is now preserved when loading a `Mesh` from a URL

## [0.6.0](https://github.com/nicklockwood/Euclid/releases/tag/0.6.0) (2022-10-22)

- Added support for rendering Euclid meshes using `RealityKit`
Expand Down
4 changes: 2 additions & 2 deletions Euclid.docc/Extensions/Mesh.md
Expand Up @@ -35,7 +35,6 @@
- ``Mesh/intersection(_:isCancelled:)``
- ``Mesh/subtract(_:isCancelled:)``
- ``Mesh/difference(_:isCancelled:)``
- ``Mesh/clip(to:fill:)``
- ``Mesh/xor(_:isCancelled:)-swift.method``
- ``Mesh/xor(_:isCancelled:)-swift.type.method``
- ``Mesh/stencil(_:isCancelled:)-swift.method``
Expand Down Expand Up @@ -83,6 +82,7 @@
- ``Mesh/scaled(by:)-94kks``
- ``Mesh/translated(by:)``
- ``Mesh/transformed(by:)``
- ``Mesh/inverted()``

### Updating Mesh Materials

Expand All @@ -95,13 +95,13 @@

### Splitting Meshes

- ``Mesh/clip(to:fill:)``
- ``Mesh/split(along:)``
- ``Mesh/edges(intersecting:)``
- ``Mesh/submeshes``

### Adjusting Mesh Topology

- ``Mesh/inverted()``
- ``Mesh/tessellate(maxSides:)``
- ``Mesh/triangulate()``
- ``Mesh/detessellate()``
Expand Down
1 change: 0 additions & 1 deletion Euclid.docc/Extensions/Polygon.md
Expand Up @@ -22,7 +22,6 @@
### Comparing Polygons

- ``Polygon/containsPoint(_:)``
- ``Polygon/undirectedEdges``

### Transforming Polygons

Expand Down
4 changes: 2 additions & 2 deletions Euclid.podspec.json
@@ -1,6 +1,6 @@
{
"name": "Euclid",
"version": "0.6.0",
"version": "0.6.1",
"license": {
"type": "MIT",
"file": "LICENSE.md"
Expand All @@ -10,7 +10,7 @@
"authors": "Nick Lockwood",
"source": {
"git": "https://github.com/nicklockwood/Euclid.git",
"tag": "0.6.0"
"tag": "0.6.1"
},
"source_files": "Sources",
"requires_arc": true,
Expand Down
4 changes: 2 additions & 2 deletions Euclid.xcodeproj/project.pbxproj
Expand Up @@ -738,7 +738,7 @@
"@executable_path/../Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 0.6.0;
MARKETING_VERSION = 0.6.1;
OTHER_SWIFT_FLAGS = "-Xfrontend -warn-long-expression-type-checking=75";
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.Euclid;
PRODUCT_MODULE_NAME = "$(PRODUCT_NAME:c99extidentifier)";
Expand Down Expand Up @@ -771,7 +771,7 @@
"@executable_path/../Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 0.6.0;
MARKETING_VERSION = 0.6.1;
OTHER_SWIFT_FLAGS = "-Xfrontend -warn-long-expression-type-checking=75";
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.Euclid;
PRODUCT_MODULE_NAME = "$(PRODUCT_NAME:c99extidentifier)";
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -37,7 +37,7 @@ Euclid is packaged as a dynamic framework that you can import into your Xcode pr
To install Euclid using CocoaPods, add the following to your Podfile:

```ruby
pod 'Euclid', '~> 0.5'
pod 'Euclid', '~> 0.6'
```

To install using Carthage, add this to your Cartfile:
Expand Down

0 comments on commit bbbed29

Please sign in to comment.