Skip to content

Commit

Permalink
Move docs to main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklockwood committed Sep 23, 2023
1 parent 83605ae commit e80c20c
Show file tree
Hide file tree
Showing 1,557 changed files with 466,727 additions and 41 deletions.
14 changes: 7 additions & 7 deletions Euclid.docc/Extensions/Angle.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@

### Computing Angles

- ``Angle/-(_:)``
- ``Angle/-(_:_:)``
- ``Angle/*(_:_:)-2ew65``
- ``Angle/*(_:_:)-8l78z``
- ``Angle//(_:_:)``
- ``Angle/+(_:_:)``
- ``Angle/acos(_:)``
- ``Angle/asin(_:)``
- ``Angle/atan(_:)``
- ``Angle/atan2(y:x:)``

### Mutating Angles
### Operators

- ``Angle/+(_:_:)``
- ``Angle/+=(_:_:)``
- ``Angle/-(_:)``
- ``Angle/-(_:_:)``
- ``Angle/-=(_:_:)``
- ``Angle/*(_:_:)-2ew65``
- ``Angle/*(_:_:)-8l78z``
- ``Angle/*=(_:_:)``
- ``Angle//(_:_:)``
- ``Angle//=(_:_:)``
8 changes: 3 additions & 5 deletions Euclid.docc/Extensions/Bounds.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@

### Creating Bounds

- ``Bounds/init(_:_:)``
- ``Bounds/init(_:)``
- ``Bounds/init(bounds:)``
- ``Bounds/init(_:)-1icmf``
- ``Bounds/init(_:)-27jri``
- ``Bounds/init(min:max:)``
- ``Bounds/init(points:)``
- ``Bounds/init(polygons:)``
- ``Bounds/init(_:_:)``

### Default Bounds

Expand Down
3 changes: 2 additions & 1 deletion Euclid.docc/Extensions/LineSegment.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
### Comparing Line Segments

- ``LineSegment/containsPoint(_:)``
- ``LineSegment/intersection(with:)``
- ``LineSegment/intersection(with:)-1tffl``
- ``LineSegment/intersection(with:)-2u7vo``
- ``LineSegment/intersects(_:)``

### Transforming Line Segments
Expand Down
1 change: 1 addition & 0 deletions Euclid.docc/Extensions/Mesh.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
- ``Mesh/replacing(_:with:)``
- ``Mesh/withMaterial(_:)``
- ``Mesh/withoutTexcoords()``
- ``Mesh/withTextureTransform(_:)``
- ``Mesh/sphereMapped()``
- ``Mesh/cylinderMapped()``

Expand Down
18 changes: 9 additions & 9 deletions Euclid.docc/Extensions/Quaternion.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,24 @@

### Computing Quaternions

- ``Quaternion/-(_:_:)``
- ``Quaternion/-(_:)``
- ``Quaternion/*(_:_:)-2drke``
- ``Quaternion/*(_:_:)-305tn``
- ``Quaternion//(_:_:)``
- ``Quaternion/+(_:_:)``
- ``Quaternion/dot(_:)``
- ``Quaternion/normalized()``

### Interpolating Quaternions

- ``Quaternion/slerp(_:_:)``

### Mutating Quaternions
### Operators

- ``Quaternion/+(_:_:)``
- ``Quaternion/+=(_:_:)``
- ``Quaternion/-(_:_:)``
- ``Quaternion/-(_:)``
- ``Quaternion/-=(_:_:)``
- ``Quaternion/*(_:_:)-2drke``
- ``Quaternion/*(_:_:)-305tn``
- ``Quaternion/*=(_:_:)-5ic2j``
- ``Quaternion/*=(_:_:)-lsgo``
- ``Quaternion//(_:_:)``
- ``Quaternion//=(_:_:)``
- ``Quaternion/+=(_:_:)``
- ``Quaternion/normalized()``

7 changes: 2 additions & 5 deletions Euclid.docc/Extensions/Rotation.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,12 @@

- ``Rotation/slerp(_:_:)``

### Computing Rotations
### Operators

- ``Rotation/-(_:)``
- ``Rotation/*(_:_:)-55zcf``
- ``Rotation/*(_:_:)-5fe82``
- ``Rotation//(_:_:)``

### Mutating Rotations

- ``Rotation/*=(_:_:)-68kkw``
- ``Rotation/*=(_:_:)-7u9hf``
- ``Rotation//(_:_:)``
- ``Rotation//=(_:_:)``
3 changes: 3 additions & 0 deletions Euclid.docc/Extensions/Transform.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,8 @@
- ``Transform/scaled(by:)-9vwak``
- ``Transform/translated(by:)``
- ``Transform/transformed(by:)``

### Operators

- ``Transform/*(_:_:)``
- ``Transform/*=(_:_:)``
22 changes: 12 additions & 10 deletions Euclid.docc/Extensions/Vector.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,6 @@

### Computing Vectors

- ``Vector/+(_:_:)``
- ``Vector/+=(_:_:)``
- ``Vector/-(_:_:)``
- ``Vector/-(_:)``
- ``Vector/-=(_:_:)``
- ``Vector/*(_:_:)-48gl1``
- ``Vector/*(_:_:)-5mcy5``
- ``Vector/*=(_:_:)-3ur4e``
- ``Vector//(_:_:)``
- ``Vector//=(_:_:)``
- ``Vector/dot(_:)``
- ``Vector/cross(_:)``

Expand All @@ -68,3 +58,15 @@
- ``Vector/project(onto:)-817o2``
- ``Vector/project(onto:)-rksk``

### Operators

- ``Vector/+(_:_:)``
- ``Vector/+=(_:_:)``
- ``Vector/-(_:_:)``
- ``Vector/-(_:)``
- ``Vector/-=(_:_:)``
- ``Vector/*(_:_:)-48gl1``
- ``Vector/*(_:_:)-5mcy5``
- ``Vector/*=(_:_:)-3ur4e``
- ``Vector//(_:_:)``
- ``Vector//=(_:_:)``
4 changes: 0 additions & 4 deletions Euclid.docc/Extensions/Vertex.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@

- ``Vertex/lerp(_:_:)``

### Comparing Vertices

- ``Vertex/!=(_:_:)``

### Encoding and Decoding Vertices

- ``Vertex/encode(to:)``
Expand Down
23 changes: 23 additions & 0 deletions [email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// swift-tools-version:5.5

import PackageDescription

let package = Package(
name: "Euclid",
products: [
.library(name: "Euclid", targets: ["Euclid"]),
],
targets: [
.target(
name: "Euclid",
path: "Sources",
exclude: ["Info.plist"]
),
.testTarget(
name: "EuclidTests",
dependencies: ["Euclid"],
path: "Tests",
exclude: ["Info.plist"]
),
]
)
Loading

0 comments on commit e80c20c

Please sign in to comment.