From 1e3fde883657aae6053120acee62284a4bad81c5 Mon Sep 17 00:00:00 2001 From: runner Date: Sun, 21 Jul 2024 13:48:35 +0000 Subject: [PATCH] Updating documentation --- Enums.html | 2 +- Enums/ClosedShape2Intersection.html | 2 +- Enums/ClosedShape2Intersection/Pair.html | 2 +- .../PointNormalKind.html | 2 +- Enums/ConvexLineIntersection.html | 2 +- .../PointNormalKind.html | 2 +- Enums/Orientation3.html | 2 +- Enums/RotationOrder3.html | 2 +- Enums/Vector2TakeDimensions.html | 2 +- Enums/Vector3TakeDimensions.html | 2 +- Enums/Vector4TakeDimensions.html | 2 +- Extensions.html | 2 +- Extensions/AABB2.html | 2 +- Extensions/Capsule3.html | 2 +- Extensions/Circle2.html | 2 +- Extensions/Collection.html | 2 +- Extensions/Cube3.html | 2 +- Extensions/DirectionalRay2.html | 2 +- Extensions/DirectionalRay3.html | 2 +- Extensions/Ellipse2.html | 2 +- Extensions/Ellipse3.html | 2 +- Extensions/Line2.html | 2 +- Extensions/Line3.html | 2 +- Extensions/LinePolygon2.html | 2 +- Extensions/LineSegment2.html | 2 +- Extensions/LineSegment3.html | 2 +- Extensions/Ray2.html | 2 +- Extensions/Ray3.html | 7 ++- Extensions/Rectangle2.html | 2 +- Extensions/RotationMatrix3.html | 19 ++++-- Extensions/RoundRectangle2.html | 2 +- Extensions/SIMD2.html | 2 +- Extensions/SIMD3.html | 2 +- Extensions/SIMD4.html | 2 +- Extensions/Sphere3.html | 2 +- Extensions/Square2.html | 2 +- Extensions/Triangle2.html | 8 ++- Extensions/Triangle3.html | 15 +++-- Extensions/Vector2D.html | 2 +- Extensions/Vector2F.html | 2 +- Functions.html | 2 +- Guides.html | 2 +- Protocols.html | 4 +- Protocols/AdditiveRectangleType.html | 2 +- Protocols/BoundableType.html | 2 +- Protocols/ConstructableRectangleType.html | 2 +- Protocols/Convex2Type.html | 2 +- Protocols/Convex3Type.html | 6 +- Protocols/ConvexType.html | 6 +- Protocols/DivisibleArithmetic.html | 2 +- Protocols/DivisibleRectangleType.html | 30 +++++++++- Protocols/Line2FloatingPoint.html | 2 +- Protocols/Line2Real.html | 2 +- Protocols/Line3FloatingPoint.html | 7 ++- Protocols/Line3IntersectableType.html | 6 +- Protocols/Line3Type.html | 2 +- Protocols/LineAdditive.html | 2 +- Protocols/LineDivisible.html | 2 +- Protocols/LineFloatingPoint.html | 2 +- Protocols/LineIntersectablePlaneType.html | 12 ++-- Protocols/LineIntersectableType.html | 6 +- Protocols/LineMultiplicative.html | 2 +- Protocols/LineType.html | 2 +- Protocols/MatrixType.html | 2 +- Protocols/PlaneIntersectablePlane2Type.html | 2 +- Protocols/PlaneIntersectablePlane3Type.html | 10 +++- Protocols/PlaneType.html | 2 +- Protocols/PointProjectablePlaneType.html | 2 +- Protocols/PointProjectableType.html | 2 +- Protocols/ProjectiveSpace.html | 2 +- Protocols/RectangleType.html | 2 +- Protocols/SelfIntersectableRectangleType.html | 2 +- Protocols/SignedDistanceMeasurableType.html | 4 +- Protocols/SphereProjectiveSpace.html | 2 +- Protocols/SquareMatrixType.html | 2 +- Protocols/TransposableMatrixType.html | 2 +- Protocols/Vector2FloatingPoint.html | 2 +- Protocols/Vector2Multiplicative.html | 2 +- Protocols/Vector2Real.html | 2 +- Protocols/Vector2Signed.html | 2 +- Protocols/Vector2Type.html | 2 +- Protocols/Vector3Additive.html | 2 +- Protocols/Vector3FloatingPoint.html | 2 +- Protocols/Vector3Multiplicative.html | 2 +- Protocols/Vector3Real.html | 2 +- Protocols/Vector3Type.html | 2 +- Protocols/Vector4Additive.html | 2 +- Protocols/Vector4FloatingPoint.html | 2 +- Protocols/Vector4Type.html | 2 +- Protocols/VectorAdditive.html | 2 +- Protocols/VectorComparable.html | 2 +- Protocols/VectorDivisible.html | 2 +- Protocols/VectorFloatingPoint.html | 2 +- Protocols/VectorMultiplicative.html | 2 +- Protocols/VectorReal.html | 2 +- Protocols/VectorSigned.html | 2 +- Protocols/VectorTakeable.html | 2 +- Protocols/VectorType.html | 2 +- Protocols/VolumetricType.html | 2 +- Structs.html | 2 +- Structs/AABB.html | 14 +++-- Structs/Angle.html | 2 +- Structs/AngleSweep.html | 2 +- Structs/CircleArc2.html | 2 +- Structs/Cylinder3.html | 6 +- Structs/DirectionalRay.html | 7 ++- Structs/Disk3.html | 11 ++-- Structs/EdgeInsets2.html | 12 ++-- Structs/Ellipsoid.html | 6 +- Structs/Hyperplane.html | 6 +- Structs/Line.html | 10 +++- Structs/LineCategory.html | 2 +- Structs/LineIntersection.html | 2 +- Structs/LineIntersection/Intersection.html | 2 +- Structs/LineIntersectionResult.html | 10 ++-- Structs/LinePolygon.html | 2 +- Structs/LineSegment.html | 15 +++-- Structs/Matrix2x2.html | 10 +++- Structs/Matrix3x2.html | 56 ++++++++++++++---- Structs/Matrix3x3.html | 32 +++++++--- Structs/Matrix4x4.html | 26 +++++--- Structs/NCapsule.html | 2 +- Structs/NRectangle.html | 14 +++-- Structs/NSphere.html | 12 ++-- Structs/NSquare.html | 10 +++- Structs/PointCloud.html | 2 +- Structs/PointNormal.html | 2 +- Structs/PointNormalPlane.html | 2 +- Structs/ProjectivePointNormalPlane3.html | 8 ++- Structs/Ray.html | 10 +++- Structs/RoundNRectangle.html | 2 +- Structs/SphereCoordinates.html | 2 +- Structs/Torus3.html | 2 +- Structs/Triangle.html | 2 +- Structs/Triangle/Coordinates.html | 4 +- Structs/UnitVector.html | 2 +- Structs/Vector2.html | 2 +- Structs/Vector3.html | 2 +- Structs/Vector4.html | 2 +- Typealiases.html | 2 +- changelog.html | 7 ++- .../Contents/Resources/Documents/Enums.html | 2 +- .../Enums/ClosedShape2Intersection.html | 2 +- .../Enums/ClosedShape2Intersection/Pair.html | 2 +- .../PointNormalKind.html | 2 +- .../Enums/ConvexLineIntersection.html | 2 +- .../PointNormalKind.html | 2 +- .../Documents/Enums/Orientation3.html | 2 +- .../Documents/Enums/RotationOrder3.html | 2 +- .../Enums/Vector2TakeDimensions.html | 2 +- .../Enums/Vector3TakeDimensions.html | 2 +- .../Enums/Vector4TakeDimensions.html | 2 +- .../Resources/Documents/Extensions.html | 2 +- .../Resources/Documents/Extensions/AABB2.html | 2 +- .../Documents/Extensions/Capsule3.html | 2 +- .../Documents/Extensions/Circle2.html | 2 +- .../Documents/Extensions/Collection.html | 2 +- .../Resources/Documents/Extensions/Cube3.html | 2 +- .../Documents/Extensions/DirectionalRay2.html | 2 +- .../Documents/Extensions/DirectionalRay3.html | 2 +- .../Documents/Extensions/Ellipse2.html | 2 +- .../Documents/Extensions/Ellipse3.html | 2 +- .../Resources/Documents/Extensions/Line2.html | 2 +- .../Resources/Documents/Extensions/Line3.html | 2 +- .../Documents/Extensions/LinePolygon2.html | 2 +- .../Documents/Extensions/LineSegment2.html | 2 +- .../Documents/Extensions/LineSegment3.html | 2 +- .../Resources/Documents/Extensions/Ray2.html | 2 +- .../Resources/Documents/Extensions/Ray3.html | 7 ++- .../Documents/Extensions/Rectangle2.html | 2 +- .../Documents/Extensions/RotationMatrix3.html | 19 ++++-- .../Documents/Extensions/RoundRectangle2.html | 2 +- .../Resources/Documents/Extensions/SIMD2.html | 2 +- .../Resources/Documents/Extensions/SIMD3.html | 2 +- .../Resources/Documents/Extensions/SIMD4.html | 2 +- .../Documents/Extensions/Sphere3.html | 2 +- .../Documents/Extensions/Square2.html | 2 +- .../Documents/Extensions/Triangle2.html | 8 ++- .../Documents/Extensions/Triangle3.html | 15 +++-- .../Documents/Extensions/Vector2D.html | 2 +- .../Documents/Extensions/Vector2F.html | 2 +- .../Resources/Documents/Functions.html | 2 +- .../Contents/Resources/Documents/Guides.html | 2 +- .../Resources/Documents/Protocols.html | 4 +- .../Protocols/AdditiveRectangleType.html | 2 +- .../Documents/Protocols/BoundableType.html | 2 +- .../Protocols/ConstructableRectangleType.html | 2 +- .../Documents/Protocols/Convex2Type.html | 2 +- .../Documents/Protocols/Convex3Type.html | 6 +- .../Documents/Protocols/ConvexType.html | 6 +- .../Protocols/DivisibleArithmetic.html | 2 +- .../Protocols/DivisibleRectangleType.html | 30 +++++++++- .../Protocols/Line2FloatingPoint.html | 2 +- .../Documents/Protocols/Line2Real.html | 2 +- .../Protocols/Line3FloatingPoint.html | 7 ++- .../Protocols/Line3IntersectableType.html | 6 +- .../Documents/Protocols/Line3Type.html | 2 +- .../Documents/Protocols/LineAdditive.html | 2 +- .../Documents/Protocols/LineDivisible.html | 2 +- .../Protocols/LineFloatingPoint.html | 2 +- .../Protocols/LineIntersectablePlaneType.html | 12 ++-- .../Protocols/LineIntersectableType.html | 6 +- .../Protocols/LineMultiplicative.html | 2 +- .../Documents/Protocols/LineType.html | 2 +- .../Documents/Protocols/MatrixType.html | 2 +- .../PlaneIntersectablePlane2Type.html | 2 +- .../PlaneIntersectablePlane3Type.html | 10 +++- .../Documents/Protocols/PlaneType.html | 2 +- .../Protocols/PointProjectablePlaneType.html | 2 +- .../Protocols/PointProjectableType.html | 2 +- .../Documents/Protocols/ProjectiveSpace.html | 2 +- .../Documents/Protocols/RectangleType.html | 2 +- .../SelfIntersectableRectangleType.html | 2 +- .../SignedDistanceMeasurableType.html | 4 +- .../Protocols/SphereProjectiveSpace.html | 2 +- .../Documents/Protocols/SquareMatrixType.html | 2 +- .../Protocols/TransposableMatrixType.html | 2 +- .../Protocols/Vector2FloatingPoint.html | 2 +- .../Protocols/Vector2Multiplicative.html | 2 +- .../Documents/Protocols/Vector2Real.html | 2 +- .../Documents/Protocols/Vector2Signed.html | 2 +- .../Documents/Protocols/Vector2Type.html | 2 +- .../Documents/Protocols/Vector3Additive.html | 2 +- .../Protocols/Vector3FloatingPoint.html | 2 +- .../Protocols/Vector3Multiplicative.html | 2 +- .../Documents/Protocols/Vector3Real.html | 2 +- .../Documents/Protocols/Vector3Type.html | 2 +- .../Documents/Protocols/Vector4Additive.html | 2 +- .../Protocols/Vector4FloatingPoint.html | 2 +- .../Documents/Protocols/Vector4Type.html | 2 +- .../Documents/Protocols/VectorAdditive.html | 2 +- .../Documents/Protocols/VectorComparable.html | 2 +- .../Documents/Protocols/VectorDivisible.html | 2 +- .../Protocols/VectorFloatingPoint.html | 2 +- .../Protocols/VectorMultiplicative.html | 2 +- .../Documents/Protocols/VectorReal.html | 2 +- .../Documents/Protocols/VectorSigned.html | 2 +- .../Documents/Protocols/VectorTakeable.html | 2 +- .../Documents/Protocols/VectorType.html | 2 +- .../Documents/Protocols/VolumetricType.html | 2 +- .../Contents/Resources/Documents/Structs.html | 2 +- .../Resources/Documents/Structs/AABB.html | 14 +++-- .../Resources/Documents/Structs/Angle.html | 2 +- .../Documents/Structs/AngleSweep.html | 2 +- .../Documents/Structs/CircleArc2.html | 2 +- .../Documents/Structs/Cylinder3.html | 6 +- .../Documents/Structs/DirectionalRay.html | 7 ++- .../Resources/Documents/Structs/Disk3.html | 11 ++-- .../Documents/Structs/EdgeInsets2.html | 12 ++-- .../Documents/Structs/Ellipsoid.html | 6 +- .../Documents/Structs/Hyperplane.html | 6 +- .../Resources/Documents/Structs/Line.html | 10 +++- .../Documents/Structs/LineCategory.html | 2 +- .../Documents/Structs/LineIntersection.html | 2 +- .../LineIntersection/Intersection.html | 2 +- .../Structs/LineIntersectionResult.html | 10 ++-- .../Documents/Structs/LinePolygon.html | 2 +- .../Documents/Structs/LineSegment.html | 15 +++-- .../Documents/Structs/Matrix2x2.html | 10 +++- .../Documents/Structs/Matrix3x2.html | 56 ++++++++++++++---- .../Documents/Structs/Matrix3x3.html | 32 +++++++--- .../Documents/Structs/Matrix4x4.html | 26 +++++--- .../Resources/Documents/Structs/NCapsule.html | 2 +- .../Documents/Structs/NRectangle.html | 14 +++-- .../Resources/Documents/Structs/NSphere.html | 12 ++-- .../Resources/Documents/Structs/NSquare.html | 10 +++- .../Documents/Structs/PointCloud.html | 2 +- .../Documents/Structs/PointNormal.html | 2 +- .../Documents/Structs/PointNormalPlane.html | 2 +- .../Structs/ProjectivePointNormalPlane3.html | 8 ++- .../Resources/Documents/Structs/Ray.html | 10 +++- .../Documents/Structs/RoundNRectangle.html | 2 +- .../Documents/Structs/SphereCoordinates.html | 2 +- .../Resources/Documents/Structs/Torus3.html | 2 +- .../Resources/Documents/Structs/Triangle.html | 2 +- .../Structs/Triangle/Coordinates.html | 4 +- .../Documents/Structs/UnitVector.html | 2 +- .../Resources/Documents/Structs/Vector2.html | 2 +- .../Resources/Documents/Structs/Vector3.html | 2 +- .../Resources/Documents/Structs/Vector4.html | 2 +- .../Resources/Documents/Typealiases.html | 2 +- .../Resources/Documents/changelog.html | 7 ++- .../Contents/Resources/Documents/index.html | 2 +- .../Contents/Resources/Documents/license.html | 2 +- .../Contents/Resources/Documents/readme.html | 2 +- .../Contents/Resources/Documents/search.json | 2 +- .../.docset/Contents/Resources/docSet.dsidx | Bin 389120 -> 393216 bytes docsets/.tgz | Bin 1018649 -> 1019018 bytes index.html | 2 +- license.html | 2 +- readme.html | 2 +- search.json | 2 +- 292 files changed, 830 insertions(+), 462 deletions(-) diff --git a/Enums.html b/Enums.html index 70be557f..481bac82 100644 --- a/Enums.html +++ b/Enums.html @@ -1214,7 +1214,7 @@

Declaration

diff --git a/Enums/ClosedShape2Intersection.html b/Enums/ClosedShape2Intersection.html index bba57f98..db7f1cb8 100644 --- a/Enums/ClosedShape2Intersection.html +++ b/Enums/ClosedShape2Intersection.html @@ -1323,7 +1323,7 @@

Declaration

diff --git a/Enums/ClosedShape2Intersection/Pair.html b/Enums/ClosedShape2Intersection/Pair.html index 0e5044c3..a3a88de5 100644 --- a/Enums/ClosedShape2Intersection/Pair.html +++ b/Enums/ClosedShape2Intersection/Pair.html @@ -1110,7 +1110,7 @@

Declaration

diff --git a/Enums/ClosedShape2Intersection/PointNormalKind.html b/Enums/ClosedShape2Intersection/PointNormalKind.html index 6b01a2d3..7cc35fe7 100644 --- a/Enums/ClosedShape2Intersection/PointNormalKind.html +++ b/Enums/ClosedShape2Intersection/PointNormalKind.html @@ -1181,7 +1181,7 @@

Declaration

diff --git a/Enums/ConvexLineIntersection.html b/Enums/ConvexLineIntersection.html index a96760d7..e6061024 100644 --- a/Enums/ConvexLineIntersection.html +++ b/Enums/ConvexLineIntersection.html @@ -1309,7 +1309,7 @@

Declaration

diff --git a/Enums/ConvexLineIntersection/PointNormalKind.html b/Enums/ConvexLineIntersection/PointNormalKind.html index 35cb8d03..7167d99b 100644 --- a/Enums/ConvexLineIntersection/PointNormalKind.html +++ b/Enums/ConvexLineIntersection/PointNormalKind.html @@ -1103,7 +1103,7 @@

Declaration

diff --git a/Enums/Orientation3.html b/Enums/Orientation3.html index fd3e0c08..ce9f5769 100644 --- a/Enums/Orientation3.html +++ b/Enums/Orientation3.html @@ -1076,7 +1076,7 @@

Declaration

diff --git a/Enums/RotationOrder3.html b/Enums/RotationOrder3.html index 94ecc497..6007f182 100644 --- a/Enums/RotationOrder3.html +++ b/Enums/RotationOrder3.html @@ -1380,7 +1380,7 @@

Declaration

diff --git a/Enums/Vector2TakeDimensions.html b/Enums/Vector2TakeDimensions.html index f3c0ee61..6f949842 100644 --- a/Enums/Vector2TakeDimensions.html +++ b/Enums/Vector2TakeDimensions.html @@ -1073,7 +1073,7 @@

Declaration

diff --git a/Enums/Vector3TakeDimensions.html b/Enums/Vector3TakeDimensions.html index c54a8d14..19f0be3c 100644 --- a/Enums/Vector3TakeDimensions.html +++ b/Enums/Vector3TakeDimensions.html @@ -1099,7 +1099,7 @@

Declaration

diff --git a/Enums/Vector4TakeDimensions.html b/Enums/Vector4TakeDimensions.html index 56e75f65..59cea24b 100644 --- a/Enums/Vector4TakeDimensions.html +++ b/Enums/Vector4TakeDimensions.html @@ -1125,7 +1125,7 @@

Declaration

diff --git a/Extensions.html b/Extensions.html index a19a82be..502c4dbd 100644 --- a/Extensions.html +++ b/Extensions.html @@ -2273,7 +2273,7 @@

Declaration

diff --git a/Extensions/AABB2.html b/Extensions/AABB2.html index 8df6421b..436ae0b9 100644 --- a/Extensions/AABB2.html +++ b/Extensions/AABB2.html @@ -1473,7 +1473,7 @@

Declaration

diff --git a/Extensions/Capsule3.html b/Extensions/Capsule3.html index d20f1d33..2a4e0a0a 100644 --- a/Extensions/Capsule3.html +++ b/Extensions/Capsule3.html @@ -1088,7 +1088,7 @@

Declaration

diff --git a/Extensions/Circle2.html b/Extensions/Circle2.html index 7f4e5566..e5aaca54 100644 --- a/Extensions/Circle2.html +++ b/Extensions/Circle2.html @@ -1231,7 +1231,7 @@

Declaration

diff --git a/Extensions/Collection.html b/Extensions/Collection.html index 8b27d79e..1935de4f 100644 --- a/Extensions/Collection.html +++ b/Extensions/Collection.html @@ -1059,7 +1059,7 @@

Declaration

diff --git a/Extensions/Cube3.html b/Extensions/Cube3.html index 7b57bc67..dedc1422 100644 --- a/Extensions/Cube3.html +++ b/Extensions/Cube3.html @@ -1047,7 +1047,7 @@

Declaration

diff --git a/Extensions/DirectionalRay2.html b/Extensions/DirectionalRay2.html index ce8730a2..79cd5bf7 100644 --- a/Extensions/DirectionalRay2.html +++ b/Extensions/DirectionalRay2.html @@ -1132,7 +1132,7 @@

Declaration

diff --git a/Extensions/DirectionalRay3.html b/Extensions/DirectionalRay3.html index 0239ca60..43162c38 100644 --- a/Extensions/DirectionalRay3.html +++ b/Extensions/DirectionalRay3.html @@ -1146,7 +1146,7 @@

Declaration

diff --git a/Extensions/Ellipse2.html b/Extensions/Ellipse2.html index 2f17e77b..332fe9d3 100644 --- a/Extensions/Ellipse2.html +++ b/Extensions/Ellipse2.html @@ -1187,7 +1187,7 @@

Declaration

diff --git a/Extensions/Ellipse3.html b/Extensions/Ellipse3.html index f29b82de..1bdc89fe 100644 --- a/Extensions/Ellipse3.html +++ b/Extensions/Ellipse3.html @@ -1239,7 +1239,7 @@

Declaration

diff --git a/Extensions/Line2.html b/Extensions/Line2.html index 95c200fc..6c8ead3e 100644 --- a/Extensions/Line2.html +++ b/Extensions/Line2.html @@ -1048,7 +1048,7 @@

Declaration

diff --git a/Extensions/Line3.html b/Extensions/Line3.html index 617132a5..75d4e004 100644 --- a/Extensions/Line3.html +++ b/Extensions/Line3.html @@ -1100,7 +1100,7 @@

Declaration

diff --git a/Extensions/LinePolygon2.html b/Extensions/LinePolygon2.html index 275d71d5..d7eacfaa 100644 --- a/Extensions/LinePolygon2.html +++ b/Extensions/LinePolygon2.html @@ -1276,7 +1276,7 @@

Declaration

diff --git a/Extensions/LineSegment2.html b/Extensions/LineSegment2.html index a24b4a9b..0724e799 100644 --- a/Extensions/LineSegment2.html +++ b/Extensions/LineSegment2.html @@ -1048,7 +1048,7 @@

Declaration

diff --git a/Extensions/LineSegment3.html b/Extensions/LineSegment3.html index 1e8d32e2..3609a3ec 100644 --- a/Extensions/LineSegment3.html +++ b/Extensions/LineSegment3.html @@ -1100,7 +1100,7 @@

Declaration

diff --git a/Extensions/Ray2.html b/Extensions/Ray2.html index 1aa57327..c6ae1889 100644 --- a/Extensions/Ray2.html +++ b/Extensions/Ray2.html @@ -1089,7 +1089,7 @@

Declaration

diff --git a/Extensions/Ray3.html b/Extensions/Ray3.html index 78deea08..c6607ec8 100644 --- a/Extensions/Ray3.html +++ b/Extensions/Ray3.html @@ -1125,7 +1125,10 @@

Declaration

Declaration

Swift

-
public static func make2DLine(_ a: Vector.SubVector2, _ b: Vector.SubVector2) -> SubLine2
+
public static func make2DLine(
+    _ a: Vector.SubVector2,
+    _ b: Vector.SubVector2
+) -> SubLine2
@@ -1140,7 +1143,7 @@

Declaration

diff --git a/Extensions/Rectangle2.html b/Extensions/Rectangle2.html index dccf2aa1..b425902f 100644 --- a/Extensions/Rectangle2.html +++ b/Extensions/Rectangle2.html @@ -1629,7 +1629,7 @@

Declaration

diff --git a/Extensions/RotationMatrix3.html b/Extensions/RotationMatrix3.html index bb3542c1..4dae16b8 100644 --- a/Extensions/RotationMatrix3.html +++ b/Extensions/RotationMatrix3.html @@ -1088,7 +1088,10 @@

Declaration

Swift

@inlinable
-static func make3DRotationX(_ angleInRadians: Scalar, orientation: Orientation3 = .rightHanded) -> RotationMatrix3
+static func make3DRotationX( + _ angleInRadians: Scalar, + orientation: Orientation3 = .rightHanded +) -> RotationMatrix3
@@ -1117,7 +1120,10 @@

Declaration

Swift

@inlinable
-static func make3DRotationY(_ angleInRadians: Scalar, orientation: Orientation3 = .rightHanded) -> RotationMatrix3
+static func make3DRotationY( + _ angleInRadians: Scalar, + orientation: Orientation3 = .rightHanded +) -> RotationMatrix3
@@ -1146,7 +1152,10 @@

Declaration

Swift

@inlinable
-static func make3DRotationZ(_ angleInRadians: Scalar, orientation: Orientation3 = .rightHanded) -> RotationMatrix3
+static func make3DRotationZ( + _ angleInRadians: Scalar, + orientation: Orientation3 = .rightHanded +) -> RotationMatrix3
@@ -1170,7 +1179,7 @@

Declaration

axis with a given orientation, by a given angle in radians.

-

axis is normalized pior to the creation of the rotation matrix.

+

axis is normalized prior to the creation of the rotation matrix.

@@ -1272,7 +1281,7 @@

Declaration

diff --git a/Extensions/RoundRectangle2.html b/Extensions/RoundRectangle2.html index cf469222..d26f2f5a 100644 --- a/Extensions/RoundRectangle2.html +++ b/Extensions/RoundRectangle2.html @@ -1046,7 +1046,7 @@

Declaration

diff --git a/Extensions/SIMD2.html b/Extensions/SIMD2.html index 0c6a25b2..4ea5d35a 100644 --- a/Extensions/SIMD2.html +++ b/Extensions/SIMD2.html @@ -1764,7 +1764,7 @@

SIMD2

diff --git a/Extensions/SIMD3.html b/Extensions/SIMD3.html index f3b032ed..ee767f18 100644 --- a/Extensions/SIMD3.html +++ b/Extensions/SIMD3.html @@ -1509,7 +1509,7 @@

SIMD3

diff --git a/Extensions/SIMD4.html b/Extensions/SIMD4.html index 718331c7..45069a6f 100644 --- a/Extensions/SIMD4.html +++ b/Extensions/SIMD4.html @@ -1211,7 +1211,7 @@

SIMD4

diff --git a/Extensions/Sphere3.html b/Extensions/Sphere3.html index cd2ecd9d..f90eaae9 100644 --- a/Extensions/Sphere3.html +++ b/Extensions/Sphere3.html @@ -1085,7 +1085,7 @@

Declaration

diff --git a/Extensions/Square2.html b/Extensions/Square2.html index 8964ecbb..1744da73 100644 --- a/Extensions/Square2.html +++ b/Extensions/Square2.html @@ -1047,7 +1047,7 @@

Declaration

diff --git a/Extensions/Triangle2.html b/Extensions/Triangle2.html index 307b198e..34119fc3 100644 --- a/Extensions/Triangle2.html +++ b/Extensions/Triangle2.html @@ -1183,7 +1183,7 @@

Available where Vector: In Cartesian space where Y grows positively up, the winding is -1 for clockwise windings and -1 for counter-clockwise windings.

-

If the area of this triangle is == .zerp, 0 is returned, instead.

+

If the area of this triangle is == .zero, 0 is returned, instead.

@@ -1330,7 +1330,9 @@

Declaration

Declaration

Swift

-
public func intersection<Line>(with line: Line) -> ConvexLineIntersection<Vector> where Vector == Line.Vector, Line : Line2FloatingPoint
+
public func intersection<Line>(
+    with line: Line
+) -> ConvexLineIntersection<Vector> where Line : Line2FloatingPoint, Vector == Line.Vector
@@ -1345,7 +1347,7 @@

Declaration

diff --git a/Extensions/Triangle3.html b/Extensions/Triangle3.html index 36fef242..8016de28 100644 --- a/Extensions/Triangle3.html +++ b/Extensions/Triangle3.html @@ -1189,8 +1189,9 @@

Declaration

Swift

@inlinable
-public func unclampedNormalMagnitudeForIntersection<Line: LineFloatingPoint>(with line: Line)
--> Vector.Scalar? where Line.Vector == Vector
+public func unclampedNormalMagnitudeForIntersection<Line: LineFloatingPoint>( + with line: Line +) -> Vector.Scalar? where Line.Vector == Vector
@@ -1222,7 +1223,9 @@

Declaration

Swift

@inlinable
-public func intersection<Line>(with line: Line) -> Vector? where Vector == Line.Vector, Line : LineFloatingPoint
+public func intersection<Line: LineFloatingPoint>( + with line: Line +) -> Vector? where Line.Vector == Vector
@@ -1256,7 +1259,9 @@

Declaration

Swift

@inlinable
-public func mollerTrumboreIntersect<Line>(with line: Line) -> (lineMagnitude: Scalar, Coordinates)? where Vector == Line.Vector, Line : LineFloatingPoint
+public func mollerTrumboreIntersect<Line: LineFloatingPoint>( + with line: Line +) -> (lineMagnitude: Scalar, Coordinates)? where Line.Vector == Vector
@@ -1359,7 +1364,7 @@

Declaration

diff --git a/Extensions/Vector2D.html b/Extensions/Vector2D.html index f4f068ce..432f7b31 100644 --- a/Extensions/Vector2D.html +++ b/Extensions/Vector2D.html @@ -1056,7 +1056,7 @@

Vector2D

diff --git a/Extensions/Vector2F.html b/Extensions/Vector2F.html index 2b6d2feb..68bb2b5d 100644 --- a/Extensions/Vector2F.html +++ b/Extensions/Vector2F.html @@ -1056,7 +1056,7 @@

Vector2F

diff --git a/Functions.html b/Functions.html index edc93711..1a0111db 100644 --- a/Functions.html +++ b/Functions.html @@ -1277,7 +1277,7 @@

Declaration

diff --git a/Guides.html b/Guides.html index c8aab71f..f3db76d3 100644 --- a/Guides.html +++ b/Guides.html @@ -1039,7 +1039,7 @@

Guides

diff --git a/Protocols.html b/Protocols.html index 955404a0..a2120f68 100644 --- a/Protocols.html +++ b/Protocols.html @@ -2077,7 +2077,7 @@

Declaration

-

Represents an object that exposese a single function that returns the signed +

Represents an object that exposes a single function that returns the signed distance to the closest point on the surface of a geometry.

See more @@ -2784,7 +2784,7 @@

Declaration

diff --git a/Protocols/AdditiveRectangleType.html b/Protocols/AdditiveRectangleType.html index 3f16e615..29744047 100644 --- a/Protocols/AdditiveRectangleType.html +++ b/Protocols/AdditiveRectangleType.html @@ -1221,7 +1221,7 @@

Declaration

diff --git a/Protocols/BoundableType.html b/Protocols/BoundableType.html index 2269fe8d..5a230f75 100644 --- a/Protocols/BoundableType.html +++ b/Protocols/BoundableType.html @@ -1077,7 +1077,7 @@

Declaration

diff --git a/Protocols/ConstructableRectangleType.html b/Protocols/ConstructableRectangleType.html index 179c8843..b1f64208 100644 --- a/Protocols/ConstructableRectangleType.html +++ b/Protocols/ConstructableRectangleType.html @@ -1468,7 +1468,7 @@

Declaration

diff --git a/Protocols/Convex2Type.html b/Protocols/Convex2Type.html index 9fea7b3b..a30fae41 100644 --- a/Protocols/Convex2Type.html +++ b/Protocols/Convex2Type.html @@ -1078,7 +1078,7 @@

Declaration

diff --git a/Protocols/Convex3Type.html b/Protocols/Convex3Type.html index fbb3056d..42566c8f 100644 --- a/Protocols/Convex3Type.html +++ b/Protocols/Convex3Type.html @@ -1063,7 +1063,9 @@

Declaration

Declaration

Swift

-
func intersection<Line>(with line: Line) -> ConvexLineIntersection<Vector> where Line : Line3FloatingPoint, Self.Vector == Line.Vector
+
func intersection<Line: Line3FloatingPoint>(
+    with line: Line
+) -> ConvexLineIntersection<Vector> where Line.Vector == Vector
@@ -1078,7 +1080,7 @@

Declaration

diff --git a/Protocols/ConvexType.html b/Protocols/ConvexType.html index d14bf073..3651b5b8 100644 --- a/Protocols/ConvexType.html +++ b/Protocols/ConvexType.html @@ -1063,7 +1063,9 @@

Declaration

Declaration

Swift

-
func intersection<Line>(with line: Line) -> ConvexLineIntersection<Vector> where Line : LineFloatingPoint, Self.Vector == Line.Vector
+
func intersection<Line: LineFloatingPoint>(
+    with line: Line
+) -> ConvexLineIntersection<Vector> where Line.Vector == Vector
@@ -1078,7 +1080,7 @@

Declaration

diff --git a/Protocols/DivisibleArithmetic.html b/Protocols/DivisibleArithmetic.html index 9f59ea3f..da03d5fc 100644 --- a/Protocols/DivisibleArithmetic.html +++ b/Protocols/DivisibleArithmetic.html @@ -1138,7 +1138,7 @@

Parameters

diff --git a/Protocols/DivisibleRectangleType.html b/Protocols/DivisibleRectangleType.html index c7f0f11c..8ccc2a96 100644 --- a/Protocols/DivisibleRectangleType.html +++ b/Protocols/DivisibleRectangleType.html @@ -1043,6 +1043,34 @@

Declaration

+
  • +
    + + + + init(center:size:) + +
    +
    +
    +
    +
    +
    +

    Initializes a new rectangle centered around a given point encompassing +a given size.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    init(center: Vector, size: Vector)
    + +
    +
    +
    +
    +
  • @@ -1643,7 +1671,7 @@

    Declaration

    diff --git a/Protocols/Line2FloatingPoint.html b/Protocols/Line2FloatingPoint.html index cd5c9380..e26f2d06 100644 --- a/Protocols/Line2FloatingPoint.html +++ b/Protocols/Line2FloatingPoint.html @@ -1056,7 +1056,7 @@

    Declaration

    diff --git a/Protocols/Line2Real.html b/Protocols/Line2Real.html index 4c167431..30f088d1 100644 --- a/Protocols/Line2Real.html +++ b/Protocols/Line2Real.html @@ -1056,7 +1056,7 @@

    Declaration

    diff --git a/Protocols/Line3FloatingPoint.html b/Protocols/Line3FloatingPoint.html index b17620ae..02321b0a 100644 --- a/Protocols/Line3FloatingPoint.html +++ b/Protocols/Line3FloatingPoint.html @@ -1045,8 +1045,9 @@

    Default Implementation

    Declaration

    Swift

    -
    func unclampedNormalizedMagnitudesForShortestLine<Line: LineFloatingPoint>(to other: Line)
    -    -> (onSelf: Vector.Scalar, onOther: Vector.Scalar)? where Line.Vector == Vector
    +
    func unclampedNormalizedMagnitudesForShortestLine<Line: LineFloatingPoint>(
    +    to other: Line
    +) -> (onSelf: Vector.Scalar, onOther: Vector.Scalar)? where Line.Vector == Vector
    @@ -1096,7 +1097,7 @@

    Declaration

    diff --git a/Protocols/Line3IntersectableType.html b/Protocols/Line3IntersectableType.html index 55ea8b22..61d1fe45 100644 --- a/Protocols/Line3IntersectableType.html +++ b/Protocols/Line3IntersectableType.html @@ -1065,7 +1065,9 @@

    Declaration

    Declaration

    Swift

    -
    func intersections<Line>(with line: Line) -> LineIntersection<Vector> where Line : Line3FloatingPoint, Self.Vector == Line.Vector
    +
    func intersections<Line>(
    +    with line: Line
    +) -> LineIntersection<Vector> where Line: Line3FloatingPoint, Line.Vector == Vector
    @@ -1080,7 +1082,7 @@

    Declaration

    diff --git a/Protocols/Line3Type.html b/Protocols/Line3Type.html index 8c5e102c..1b81f788 100644 --- a/Protocols/Line3Type.html +++ b/Protocols/Line3Type.html @@ -1075,7 +1075,7 @@

    Declaration

    diff --git a/Protocols/LineAdditive.html b/Protocols/LineAdditive.html index 219abfeb..cc6b0d30 100644 --- a/Protocols/LineAdditive.html +++ b/Protocols/LineAdditive.html @@ -1084,7 +1084,7 @@

    Declaration

    diff --git a/Protocols/LineDivisible.html b/Protocols/LineDivisible.html index b4c1d191..032b0d3b 100644 --- a/Protocols/LineDivisible.html +++ b/Protocols/LineDivisible.html @@ -1093,7 +1093,7 @@

    Declaration

    diff --git a/Protocols/LineFloatingPoint.html b/Protocols/LineFloatingPoint.html index 3ce2f24e..0d9c53e0 100644 --- a/Protocols/LineFloatingPoint.html +++ b/Protocols/LineFloatingPoint.html @@ -1389,7 +1389,7 @@

    Declaration

    diff --git a/Protocols/LineIntersectablePlaneType.html b/Protocols/LineIntersectablePlaneType.html index 5bd5f665..21acf5c5 100644 --- a/Protocols/LineIntersectablePlaneType.html +++ b/Protocols/LineIntersectablePlaneType.html @@ -1045,8 +1045,9 @@

    Default Implementation

    Declaration

    Swift

    -
    func unclampedNormalMagnitudeForIntersection<Line: LineFloatingPoint>(with line: Line)
    -    -> Vector.Scalar? where Line.Vector == Vector
    +
    func unclampedNormalMagnitudeForIntersection<Line: LineFloatingPoint>(
    +    with line: Line
    +) -> Vector.Scalar? where Line.Vector == Vector
    @@ -1084,8 +1085,9 @@

    Default Implementation

    Declaration

    Swift

    -
    func intersection<Line: LineFloatingPoint>(with line: Line)
    -    -> Vector? where Line.Vector == Vector
    +
    func intersection<Line: LineFloatingPoint>(
    +    with line: Line
    +) -> Vector? where Line.Vector == Vector
    @@ -1100,7 +1102,7 @@

    Declaration

    diff --git a/Protocols/LineIntersectableType.html b/Protocols/LineIntersectableType.html index f86431f7..9d0b26e3 100644 --- a/Protocols/LineIntersectableType.html +++ b/Protocols/LineIntersectableType.html @@ -1065,7 +1065,9 @@

    Declaration

    Declaration

    Swift

    -
    func intersections<Line>(with line: Line) -> LineIntersection<Vector> where Line : LineFloatingPoint, Self.Vector == Line.Vector
    +
    func intersections<Line>(
    +    with line: Line
    +) -> LineIntersection<Vector> where Line: LineFloatingPoint, Line.Vector == Vector
    @@ -1080,7 +1082,7 @@

    Declaration

    diff --git a/Protocols/LineMultiplicative.html b/Protocols/LineMultiplicative.html index a9f8a6ef..de5bc065 100644 --- a/Protocols/LineMultiplicative.html +++ b/Protocols/LineMultiplicative.html @@ -1078,7 +1078,7 @@

    Declaration

    diff --git a/Protocols/LineType.html b/Protocols/LineType.html index b5bf2fd4..04a0e365 100644 --- a/Protocols/LineType.html +++ b/Protocols/LineType.html @@ -1136,7 +1136,7 @@

    Declaration

    diff --git a/Protocols/MatrixType.html b/Protocols/MatrixType.html index 6959d31e..e81c1354 100644 --- a/Protocols/MatrixType.html +++ b/Protocols/MatrixType.html @@ -1619,7 +1619,7 @@

    Declaration

    diff --git a/Protocols/PlaneIntersectablePlane2Type.html b/Protocols/PlaneIntersectablePlane2Type.html index f828476f..170fb9be 100644 --- a/Protocols/PlaneIntersectablePlane2Type.html +++ b/Protocols/PlaneIntersectablePlane2Type.html @@ -1099,7 +1099,7 @@

    Declaration

    diff --git a/Protocols/PlaneIntersectablePlane3Type.html b/Protocols/PlaneIntersectablePlane3Type.html index b3d77f93..347c2359 100644 --- a/Protocols/PlaneIntersectablePlane3Type.html +++ b/Protocols/PlaneIntersectablePlane3Type.html @@ -1038,7 +1038,9 @@

    PlaneIntersectablePlane3Type

    Declaration

    Swift

    -
    func intersection<Plane>(with other: Plane) -> Line<Vector>? where Plane : LineIntersectablePlaneType, Self.Vector == Plane.Vector
    +
    func intersection<Plane: LineIntersectablePlaneType>(
    +    with other: Plane
    +) -> Line<Vector>? where Plane.Vector == Vector
    @@ -1084,7 +1086,9 @@

    Default Implementation

    Declaration

    Swift

    -
    public func intersection<Plane>(with other: Plane) -> Line<Vector>? where Plane : LineIntersectablePlaneType, Self.Vector == Plane.Vector
    +
    public func intersection<Plane: LineIntersectablePlaneType>(
    +    with other: Plane
    +) -> Line<Vector>? where Plane.Vector == Vector
    @@ -1099,7 +1103,7 @@

    Declaration

    diff --git a/Protocols/PlaneType.html b/Protocols/PlaneType.html index 9ddedc79..cc947087 100644 --- a/Protocols/PlaneType.html +++ b/Protocols/PlaneType.html @@ -1103,7 +1103,7 @@

    Declaration

    diff --git a/Protocols/PointProjectablePlaneType.html b/Protocols/PointProjectablePlaneType.html index 830e0236..6288126f 100644 --- a/Protocols/PointProjectablePlaneType.html +++ b/Protocols/PointProjectablePlaneType.html @@ -1091,7 +1091,7 @@

    Declaration

    diff --git a/Protocols/PointProjectableType.html b/Protocols/PointProjectableType.html index 2df794b1..6545f587 100644 --- a/Protocols/PointProjectableType.html +++ b/Protocols/PointProjectableType.html @@ -1255,7 +1255,7 @@

    Declaration

    diff --git a/Protocols/ProjectiveSpace.html b/Protocols/ProjectiveSpace.html index 165c4044..5b2f36e7 100644 --- a/Protocols/ProjectiveSpace.html +++ b/Protocols/ProjectiveSpace.html @@ -1134,7 +1134,7 @@

    Declaration

    diff --git a/Protocols/RectangleType.html b/Protocols/RectangleType.html index ab9434d2..818735cf 100644 --- a/Protocols/RectangleType.html +++ b/Protocols/RectangleType.html @@ -1332,7 +1332,7 @@

    Declaration

    diff --git a/Protocols/SelfIntersectableRectangleType.html b/Protocols/SelfIntersectableRectangleType.html index d8cbc09a..72b56159 100644 --- a/Protocols/SelfIntersectableRectangleType.html +++ b/Protocols/SelfIntersectableRectangleType.html @@ -1138,7 +1138,7 @@

    Declaration

    diff --git a/Protocols/SignedDistanceMeasurableType.html b/Protocols/SignedDistanceMeasurableType.html index edb1a17f..7104891f 100644 --- a/Protocols/SignedDistanceMeasurableType.html +++ b/Protocols/SignedDistanceMeasurableType.html @@ -1004,7 +1004,7 @@

    SignedDistanceMeasurableType

    -

    Represents an object that exposese a single function that returns the signed +

    Represents an object that exposes a single function that returns the signed distance to the closest point on the surface of a geometry.

    @@ -1077,7 +1077,7 @@

    Declaration

    diff --git a/Protocols/SphereProjectiveSpace.html b/Protocols/SphereProjectiveSpace.html index e5b9b228..5b647c89 100644 --- a/Protocols/SphereProjectiveSpace.html +++ b/Protocols/SphereProjectiveSpace.html @@ -1050,7 +1050,7 @@

    Declaration

    diff --git a/Protocols/SquareMatrixType.html b/Protocols/SquareMatrixType.html index 8e9ecb16..57558b04 100644 --- a/Protocols/SquareMatrixType.html +++ b/Protocols/SquareMatrixType.html @@ -1106,7 +1106,7 @@

    Declaration

    diff --git a/Protocols/TransposableMatrixType.html b/Protocols/TransposableMatrixType.html index 667de031..8da0fda5 100644 --- a/Protocols/TransposableMatrixType.html +++ b/Protocols/TransposableMatrixType.html @@ -1075,7 +1075,7 @@

    Declaration

    diff --git a/Protocols/Vector2FloatingPoint.html b/Protocols/Vector2FloatingPoint.html index d4cb441b..95a56cd4 100644 --- a/Protocols/Vector2FloatingPoint.html +++ b/Protocols/Vector2FloatingPoint.html @@ -1416,7 +1416,7 @@

    Declaration

    diff --git a/Protocols/Vector2Multiplicative.html b/Protocols/Vector2Multiplicative.html index a655613a..6339ebf8 100644 --- a/Protocols/Vector2Multiplicative.html +++ b/Protocols/Vector2Multiplicative.html @@ -1243,7 +1243,7 @@

    Declaration

    diff --git a/Protocols/Vector2Real.html b/Protocols/Vector2Real.html index 9b14f003..7f60e01b 100644 --- a/Protocols/Vector2Real.html +++ b/Protocols/Vector2Real.html @@ -1387,7 +1387,7 @@

    Declaration

    diff --git a/Protocols/Vector2Signed.html b/Protocols/Vector2Signed.html index 8bab2988..3dcca6f1 100644 --- a/Protocols/Vector2Signed.html +++ b/Protocols/Vector2Signed.html @@ -1189,7 +1189,7 @@

    Declaration

    diff --git a/Protocols/Vector2Type.html b/Protocols/Vector2Type.html index fa2ac7ac..bb082571 100644 --- a/Protocols/Vector2Type.html +++ b/Protocols/Vector2Type.html @@ -1378,7 +1378,7 @@

    Declaration

    diff --git a/Protocols/Vector3Additive.html b/Protocols/Vector3Additive.html index 6c48c9de..112d4f8c 100644 --- a/Protocols/Vector3Additive.html +++ b/Protocols/Vector3Additive.html @@ -1058,7 +1058,7 @@

    Declaration

    diff --git a/Protocols/Vector3FloatingPoint.html b/Protocols/Vector3FloatingPoint.html index fde3c897..ff3d3b1d 100644 --- a/Protocols/Vector3FloatingPoint.html +++ b/Protocols/Vector3FloatingPoint.html @@ -1416,7 +1416,7 @@

    Declaration

    diff --git a/Protocols/Vector3Multiplicative.html b/Protocols/Vector3Multiplicative.html index 049f3e29..3148f3ab 100644 --- a/Protocols/Vector3Multiplicative.html +++ b/Protocols/Vector3Multiplicative.html @@ -1198,7 +1198,7 @@

    Declaration

    diff --git a/Protocols/Vector3Real.html b/Protocols/Vector3Real.html index b1ac1178..df9c0967 100644 --- a/Protocols/Vector3Real.html +++ b/Protocols/Vector3Real.html @@ -1078,7 +1078,7 @@

    Declaration

    diff --git a/Protocols/Vector3Type.html b/Protocols/Vector3Type.html index 5ad00a3b..3893bee9 100644 --- a/Protocols/Vector3Type.html +++ b/Protocols/Vector3Type.html @@ -1441,7 +1441,7 @@

    Declaration

    diff --git a/Protocols/Vector4Additive.html b/Protocols/Vector4Additive.html index 04a8b552..105cb6a7 100644 --- a/Protocols/Vector4Additive.html +++ b/Protocols/Vector4Additive.html @@ -1086,7 +1086,7 @@

    Declaration

    diff --git a/Protocols/Vector4FloatingPoint.html b/Protocols/Vector4FloatingPoint.html index 4d71bbd0..c94394ca 100644 --- a/Protocols/Vector4FloatingPoint.html +++ b/Protocols/Vector4FloatingPoint.html @@ -1416,7 +1416,7 @@

    Declaration

    diff --git a/Protocols/Vector4Type.html b/Protocols/Vector4Type.html index 9fd8e0cd..144c48c9 100644 --- a/Protocols/Vector4Type.html +++ b/Protocols/Vector4Type.html @@ -1504,7 +1504,7 @@

    Declaration

    diff --git a/Protocols/VectorAdditive.html b/Protocols/VectorAdditive.html index 96a18d57..c4b80e82 100644 --- a/Protocols/VectorAdditive.html +++ b/Protocols/VectorAdditive.html @@ -1315,7 +1315,7 @@

    Declaration

    diff --git a/Protocols/VectorComparable.html b/Protocols/VectorComparable.html index 52821cc0..d8f54ac0 100644 --- a/Protocols/VectorComparable.html +++ b/Protocols/VectorComparable.html @@ -1451,7 +1451,7 @@

    Declaration

    diff --git a/Protocols/VectorDivisible.html b/Protocols/VectorDivisible.html index bfce5e18..d5633211 100644 --- a/Protocols/VectorDivisible.html +++ b/Protocols/VectorDivisible.html @@ -1158,7 +1158,7 @@

    Declaration

    diff --git a/Protocols/VectorFloatingPoint.html b/Protocols/VectorFloatingPoint.html index ce4b5779..9df71129 100644 --- a/Protocols/VectorFloatingPoint.html +++ b/Protocols/VectorFloatingPoint.html @@ -1571,7 +1571,7 @@

    Declaration

    diff --git a/Protocols/VectorMultiplicative.html b/Protocols/VectorMultiplicative.html index a6e78812..068e5872 100644 --- a/Protocols/VectorMultiplicative.html +++ b/Protocols/VectorMultiplicative.html @@ -1396,7 +1396,7 @@

    Declaration

    diff --git a/Protocols/VectorReal.html b/Protocols/VectorReal.html index 7ec8489a..414e72db 100644 --- a/Protocols/VectorReal.html +++ b/Protocols/VectorReal.html @@ -1123,7 +1123,7 @@

    Declaration

    diff --git a/Protocols/VectorSigned.html b/Protocols/VectorSigned.html index f0ca0a91..eba3f0e0 100644 --- a/Protocols/VectorSigned.html +++ b/Protocols/VectorSigned.html @@ -1168,7 +1168,7 @@

    Declaration

    diff --git a/Protocols/VectorTakeable.html b/Protocols/VectorTakeable.html index 7ecadf98..1a0daaf1 100644 --- a/Protocols/VectorTakeable.html +++ b/Protocols/VectorTakeable.html @@ -1267,7 +1267,7 @@

    Declaration

    diff --git a/Protocols/VectorType.html b/Protocols/VectorType.html index 5e356b70..22809fd3 100644 --- a/Protocols/VectorType.html +++ b/Protocols/VectorType.html @@ -1134,7 +1134,7 @@

    Declaration

    diff --git a/Protocols/VolumetricType.html b/Protocols/VolumetricType.html index 94f2168d..1dfcfaae 100644 --- a/Protocols/VolumetricType.html +++ b/Protocols/VolumetricType.html @@ -1170,7 +1170,7 @@

    Declaration

    diff --git a/Structs.html b/Structs.html index 476ab0c6..88af4bc4 100644 --- a/Structs.html +++ b/Structs.html @@ -2312,7 +2312,7 @@

    Declaration

    diff --git a/Structs/AABB.html b/Structs/AABB.html index 49e5d2aa..0711c62d 100644 --- a/Structs/AABB.html +++ b/Structs/AABB.html @@ -1458,7 +1458,9 @@

    Declaration

    Swift

    @inlinable
    -public mutating func expand<S>(toInclude points: S) where Vector == S.Element, S : Sequence
    +public mutating func expand<S: Sequence>( + toInclude points: S +) where S.Element == Vector
    @@ -2150,7 +2152,9 @@

    Declaration

    Swift

    @inlinable
    -public func intersects<Line>(line: Line) -> Bool where Vector == Line.Vector, Line : LineFloatingPoint
    +public func intersects<Line: LineFloatingPoint>( + line: Line +) -> Bool where Line.Vector == Vector
    @@ -2180,7 +2184,9 @@

    Declaration

    Swift

    @inlinable
    -public func intersection<Line>(with line: Line) -> ConvexLineIntersection<Vector> where Vector == Line.Vector, Line : LineFloatingPoint
    +public func intersection<Line: LineFloatingPoint>( + with line: Line +) -> ConvexLineIntersection<Vector> where Line.Vector == Vector
    @@ -2221,7 +2227,7 @@

    Declaration

    diff --git a/Structs/Angle.html b/Structs/Angle.html index 3720b497..569d9601 100644 --- a/Structs/Angle.html +++ b/Structs/Angle.html @@ -1960,7 +1960,7 @@

    Declaration

    diff --git a/Structs/AngleSweep.html b/Structs/AngleSweep.html index 8fd29a06..61ee6bed 100644 --- a/Structs/AngleSweep.html +++ b/Structs/AngleSweep.html @@ -1240,7 +1240,7 @@

    Declaration

    diff --git a/Structs/CircleArc2.html b/Structs/CircleArc2.html index 62b63175..340d2796 100644 --- a/Structs/CircleArc2.html +++ b/Structs/CircleArc2.html @@ -1773,7 +1773,7 @@

    Declaration

    diff --git a/Structs/Cylinder3.html b/Structs/Cylinder3.html index 3af150fd..422db526 100644 --- a/Structs/Cylinder3.html +++ b/Structs/Cylinder3.html @@ -1490,7 +1490,9 @@

    Available where Vector: Declaration

    Swift

    -
    public func intersection<Line>(with line: Line) -> ConvexLineIntersection<Vector> where Vector == Line.Vector, Line : Line3FloatingPoint
    +
    public func intersection<Line>(
    +    with line: Line
    +) -> ConvexLineIntersection<Vector> where Line: Line3FloatingPoint, Vector == Line.Vector
    @@ -1505,7 +1507,7 @@

    Declaration

    diff --git a/Structs/DirectionalRay.html b/Structs/DirectionalRay.html index 87b071a7..86ac15a2 100644 --- a/Structs/DirectionalRay.html +++ b/Structs/DirectionalRay.html @@ -1479,7 +1479,10 @@

    Declaration

    Declaration

    Swift

    -
    public func withPointsScaledBy(_ factor: Vector, around center: Vector) -> DirectionalRay<Vector>
    +
    public func withPointsScaledBy(
    +    _ factor: Vector,
    +    around center: Vector
    +) -> Self
    @@ -1648,7 +1651,7 @@

    Declaration

    diff --git a/Structs/Disk3.html b/Structs/Disk3.html index a7c82681..c2cbae60 100644 --- a/Structs/Disk3.html +++ b/Structs/Disk3.html @@ -1319,8 +1319,9 @@

    Declaration

    Swift

    @inlinable
    -public func unclampedNormalMagnitudeForIntersection<Line: LineFloatingPoint>(with line: Line)
    --> Vector.Scalar? where Line.Vector == Vector
    +public func unclampedNormalMagnitudeForIntersection<Line: LineFloatingPoint>( + with line: Line +) -> Vector.Scalar? where Line.Vector == Vector
    @@ -1352,7 +1353,9 @@

    Declaration

    Swift

    @inlinable
    -public func intersection<Line>(with line: Line) -> Vector? where Vector == Line.Vector, Line : LineFloatingPoint
    +public func intersection<Line: LineFloatingPoint>( + with line: Line +) -> Vector? where Line.Vector == Vector
    @@ -1367,7 +1370,7 @@

    Declaration

    diff --git a/Structs/EdgeInsets2.html b/Structs/EdgeInsets2.html index 14574bb4..d286e46c 100644 --- a/Structs/EdgeInsets2.html +++ b/Structs/EdgeInsets2.html @@ -1168,10 +1168,12 @@

    Declaration

    Declaration

    Swift

    -
    public init(left: Scalar,
    -            top: Scalar,
    -            right: Scalar,
    -            bottom: Scalar)
    +
    public init(
    +    left: Scalar,
    +    top: Scalar,
    +    right: Scalar,
    +    bottom: Scalar
    +)
    @@ -1277,7 +1279,7 @@

    Declaration

    diff --git a/Structs/Ellipsoid.html b/Structs/Ellipsoid.html index ac4ed652..23a8d447 100644 --- a/Structs/Ellipsoid.html +++ b/Structs/Ellipsoid.html @@ -1277,7 +1277,9 @@

    Declaration

    Swift

    @inlinable
    -public func intersection<Line>(with line: Line) -> ConvexLineIntersection<Vector> where Vector == Line.Vector, Line : LineFloatingPoint
    +public func intersection<Line>( + with line: Line +) -> ConvexLineIntersection<Vector> where Line: LineFloatingPoint, Vector == Line.Vector
    @@ -1292,7 +1294,7 @@

    Declaration

    diff --git a/Structs/Hyperplane.html b/Structs/Hyperplane.html index e8de389d..597039c3 100644 --- a/Structs/Hyperplane.html +++ b/Structs/Hyperplane.html @@ -1266,7 +1266,9 @@

    Declaration

    Declaration

    Swift

    -
    public func intersection<Line>(with line: Line) -> ConvexLineIntersection<Vector> where Vector == Line.Vector, Line : LineFloatingPoint
    +
    public func intersection<Line: LineFloatingPoint>(
    +    with line: Line
    +) -> ConvexLineIntersection<Vector> where Line.Vector == Vector
    @@ -1312,7 +1314,7 @@

    Declaration

    diff --git a/Structs/Line.html b/Structs/Line.html index f6c6172a..32983bd9 100644 --- a/Structs/Line.html +++ b/Structs/Line.html @@ -1299,7 +1299,9 @@

    Available where Vector: Declaration

    Swift

    -
    public func containsProjectedNormalizedMagnitude(_ scalar: Vector.Scalar) -> Bool
    +
    public func containsProjectedNormalizedMagnitude(
    +    _ scalar: Vector.Scalar
    +) -> Bool
    @@ -1330,7 +1332,9 @@

    Declaration

    Declaration

    Swift

    -
    public func clampProjectedNormalizedMagnitude(_ scalar: Vector.Scalar) -> Vector.Scalar
    +
    public func clampProjectedNormalizedMagnitude(
    +    _ scalar: Vector.Scalar
    +) -> Vector.Scalar
    @@ -1345,7 +1349,7 @@

    Declaration

    diff --git a/Structs/LineCategory.html b/Structs/LineCategory.html index afcf0e04..0ce11ffb 100644 --- a/Structs/LineCategory.html +++ b/Structs/LineCategory.html @@ -1213,7 +1213,7 @@

    Declaration

    diff --git a/Structs/LineIntersection.html b/Structs/LineIntersection.html index bb030e5c..ca483572 100644 --- a/Structs/LineIntersection.html +++ b/Structs/LineIntersection.html @@ -1134,7 +1134,7 @@

    Declaration

    diff --git a/Structs/LineIntersection/Intersection.html b/Structs/LineIntersection/Intersection.html index f13744c7..09e4da1e 100644 --- a/Structs/LineIntersection/Intersection.html +++ b/Structs/LineIntersection/Intersection.html @@ -1135,7 +1135,7 @@

    Declaration

    diff --git a/Structs/LineIntersectionResult.html b/Structs/LineIntersectionResult.html index 9c840457..80a6eb8a 100644 --- a/Structs/LineIntersectionResult.html +++ b/Structs/LineIntersectionResult.html @@ -1150,9 +1150,11 @@

    Declaration

    Declaration

    Swift

    -
    public init(point: Vector,
    -            line1NormalizedMagnitude: Vector.Scalar,
    -            line2NormalizedMagnitude: Vector.Scalar)
    +
    public init(
    +    point: Vector,
    +    line1NormalizedMagnitude: Vector.Scalar,
    +    line2NormalizedMagnitude: Vector.Scalar
    +)
    @@ -1167,7 +1169,7 @@

    Declaration

    diff --git a/Structs/LinePolygon.html b/Structs/LinePolygon.html index 418179e0..9e4dd2a3 100644 --- a/Structs/LinePolygon.html +++ b/Structs/LinePolygon.html @@ -1368,7 +1368,7 @@

    Declaration

    diff --git a/Structs/LineSegment.html b/Structs/LineSegment.html index 8666f009..d5c8c6b3 100644 --- a/Structs/LineSegment.html +++ b/Structs/LineSegment.html @@ -1466,7 +1466,10 @@

    Declaration

    Declaration

    Swift

    -
    public func withPointsScaledBy(_ factor: Vector, around center: Vector) -> LineSegment<Vector>
    +
    public func withPointsScaledBy(
    +    _ factor: Vector,
    +    around center: Vector
    +) -> Self
    @@ -1613,7 +1616,9 @@

    Declaration

    Declaration

    Swift

    -
    public func containsProjectedNormalizedMagnitude(_ scalar: Vector.Scalar) -> Bool
    +
    public func containsProjectedNormalizedMagnitude(
    +    _ scalar: Vector.Scalar
    +) -> Bool
    @@ -1643,7 +1648,9 @@

    Declaration

    Declaration

    Swift

    -
    public func clampProjectedNormalizedMagnitude(_ scalar: Vector.Scalar) -> Vector.Scalar
    +
    public func clampProjectedNormalizedMagnitude(
    +    _ scalar: Vector.Scalar
    +) -> Vector.Scalar
    @@ -1698,7 +1705,7 @@

    Declaration

    diff --git a/Structs/Matrix2x2.html b/Structs/Matrix2x2.html index 4c57d689..2b6e0d1b 100644 --- a/Structs/Matrix2x2.html +++ b/Structs/Matrix2x2.html @@ -1589,7 +1589,9 @@

    Declaration

    Declaration

    Swift

    -
    public init<Vector>(rows: (Vector, Vector)) where Scalar == Vector.Scalar, Vector : Vector2Type
    +
    public init<Vector: Vector2Type>(
    +    rows: (Vector, Vector)
    +) where Vector.Scalar == Scalar
    @@ -1728,7 +1730,9 @@

    Declaration

    Declaration

    Swift

    -
    public func transformPoint<Vector>(_ vec: Vector) -> Vector where Scalar == Vector.Scalar, Vector : Vector2FloatingPoint
    +
    public func transformPoint<Vector: Vector2FloatingPoint>(
    +    _ vec: Vector
    +) -> Vector where Vector.Scalar == Scalar
    @@ -2048,7 +2052,7 @@

    Declaration

    diff --git a/Structs/Matrix3x2.html b/Structs/Matrix3x2.html index 107d358a..14f78ce5 100644 --- a/Structs/Matrix3x2.html +++ b/Structs/Matrix3x2.html @@ -1659,7 +1659,14 @@

    Parameters

    Declaration

    Swift

    -
    public init(m11: Scalar, m12: Scalar, m21: Scalar, m22: Scalar, m31: Scalar, m32: Scalar)
    +
    public init(
    +    m11: Scalar,
    +    m12: Scalar,
    +    m21: Scalar,
    +    m22: Scalar,
    +    m31: Scalar,
    +    m32: Scalar
    +)
    @@ -1906,7 +1913,10 @@

    Declaration

    Declaration

    Swift

    -
    public static func add(_ left: Matrix3x2, _ right: Matrix3x2) -> Matrix3x2
    +
    public static func add(
    +    _ left: Matrix3x2,
    +    _ right: Matrix3x2
    +) -> Matrix3x2
    @@ -1964,7 +1974,10 @@

    Parameters

    Declaration

    Swift

    -
    public static func subtract(_ left: Matrix3x2, _ right: Matrix3x2) -> Matrix3x2
    +
    public static func subtract(
    +    _ left: Matrix3x2,
    +    _ right: Matrix3x2
    +) -> Matrix3x2
    @@ -2022,7 +2035,10 @@

    Parameters

    Declaration

    Swift

    -
    public static func multiply(_ left: Matrix3x2, _ right: Scalar) -> Matrix3x2
    +
    public static func multiply(
    +    _ left: Matrix3x2,
    +    _ right: Scalar
    +) -> Matrix3x2
    @@ -2080,7 +2096,10 @@

    Parameters

    Declaration

    Swift

    -
    public static func multiply(_ left: Matrix3x2, _ right: Matrix3x2) -> Matrix3x2
    +
    public static func multiply(
    +    _ left: Matrix3x2,
    +    _ right: Matrix3x2
    +) -> Matrix3x2
    @@ -2196,7 +2215,10 @@

    Parameters

    Declaration

    Swift

    -
    public static func divide(_ left: Matrix3x2, _ right: Matrix3x2) -> Matrix3x2
    +
    public static func divide(
    +    _ left: Matrix3x2,
    +    _ right: Matrix3x2
    +) -> Matrix3x2
    @@ -2303,7 +2325,11 @@

    Parameters

    Declaration

    Swift

    -
    public static func lerp(start: Matrix3x2, end: Matrix3x2, amount: Scalar) -> Matrix3x2
    +
    public static func lerp(
    +    start: Matrix3x2,
    +    end: Matrix3x2,
    +    amount: Scalar
    +) -> Matrix3x2
    @@ -3154,7 +3180,10 @@

    Declaration

    Swift

    @inlinable
    -public static func transformPoint(matrix: Matrix3x2, point: Vector) -> Vector
    +public static func transformPoint( + matrix: Matrix3x2, + point: Vector +) -> Vector
    @@ -3217,7 +3246,10 @@

    Declaration

    Swift

    @inlinable
    -public static func transformPoint<V>(matrix: Matrix3x2, point: V) -> V where Scalar == V.Scalar, V : Vector2Type
    +public static func transformPoint<V: Vector2Type>( + matrix: Matrix3x2, + point: V +) -> V where V.Scalar == Scalar
    @@ -3947,7 +3979,9 @@

    Declaration

    Swift

    @inlinable
    -func transform<V>(_ rect: NRectangle<V>) -> NRectangle<V> where Scalar == V.Scalar, V : Vector2Type, V : VectorAdditive, V : VectorComparable
    +func transform<V: Vector2Type & VectorAdditive & VectorComparable>( + _ rect: NRectangle<V> +) -> NRectangle<V> where V.Scalar == Scalar
    @@ -4016,7 +4050,7 @@

    Declaration

    diff --git a/Structs/Matrix3x3.html b/Structs/Matrix3x3.html index 039c90a7..5f0f5510 100644 --- a/Structs/Matrix3x3.html +++ b/Structs/Matrix3x3.html @@ -1701,7 +1701,9 @@

    Declaration

    Declaration

    Swift

    -
    public init<Vector>(rows: (Vector, Vector, Vector)) where Scalar == Vector.Scalar, Vector : Vector3Type
    +
    public init<Vector: Vector3Type>(
    +    rows: (Vector, Vector, Vector)
    +) where Vector.Scalar == Scalar
    @@ -1840,7 +1842,9 @@

    Declaration

    Declaration

    Swift

    -
    public func transformPoint<Vector>(_ vec: Vector) -> Vector where Scalar == Vector.Scalar, Vector : Vector3FloatingPoint
    +
    public func transformPoint<Vector: Vector3FloatingPoint>(
    +    _ vec: Vector
    +) -> Vector where Vector.Scalar == Scalar
    @@ -1868,7 +1872,9 @@

    Declaration

    Declaration

    Swift

    -
    public func transformPoint<Vector>(_ vec: Vector) -> Vector where Scalar == Vector.Scalar, Vector : Vector2FloatingPoint
    +
    public func transformPoint<Vector: Vector2FloatingPoint>(
    +    _ vec: Vector
    +) -> Vector where Vector.Scalar == Scalar
    @@ -1899,7 +1905,9 @@

    Declaration

    Declaration

    Swift

    -
    public func transformVector<Vector>(_ vec: Vector) -> Vector where Scalar == Vector.Scalar, Vector : Vector2FloatingPoint
    +
    public func transformVector<Vector: Vector2FloatingPoint>(
    +    _ vec: Vector
    +) -> Vector where Vector.Scalar == Scalar
    @@ -2038,7 +2046,9 @@

    Declaration

    Declaration

    Swift

    -
    public static func make2DScale<Vector>(_ vec: Vector) -> Matrix3x3<Scalar> where Scalar == Vector.Scalar, Vector : Vector2Type
    +
    public static func make2DScale<Vector: Vector2Type>(
    +    _ vec: Vector
    +) -> Self where Vector.Scalar == Scalar
    @@ -2122,7 +2132,9 @@

    Declaration

    Declaration

    Swift

    -
    public static func make2DTranslation<Vector>(_ vec: Vector) -> Matrix3x3<Scalar> where Scalar == Vector.Scalar, Vector : Vector2Type
    +
    public static func make2DTranslation<Vector: Vector2Type>(
    +    _ vec: Vector
    +) -> Self where Vector.Scalar == Scalar
    @@ -2156,8 +2168,10 @@

    Declaration

    Declaration

    Swift

    -
    public static func make3DSkewSymmetricCrossProduct<Vector: Vector3Type>(_ vector: Vector,
    -                                                                        orientation: Orientation3 = .rightHanded) -> Self where Vector.Scalar == Scalar
    +
    public static func make3DSkewSymmetricCrossProduct<Vector: Vector3Type>(
    +    _ vector: Vector,
    +    orientation: Orientation3 = .rightHanded
    +) -> Self where Vector.Scalar == Scalar
    @@ -2394,7 +2408,7 @@

    Declaration

    diff --git a/Structs/Matrix4x4.html b/Structs/Matrix4x4.html index 2f064a40..627f7f92 100644 --- a/Structs/Matrix4x4.html +++ b/Structs/Matrix4x4.html @@ -1813,7 +1813,9 @@

    Declaration

    Declaration

    Swift

    -
    public init<Vector>(rows: (Vector, Vector, Vector, Vector)) where Scalar == Vector.Scalar, Vector : Vector4Type
    +
    public init<Vector: Vector4Type>(
    +    rows: (Vector, Vector, Vector, Vector)
    +) where Vector.Scalar == Scalar
    @@ -1952,7 +1954,9 @@

    Declaration

    Declaration

    Swift

    -
    public func transformPoint<Vector>(_ vec: Vector) -> Vector where Scalar == Vector.Scalar, Vector : Vector4FloatingPoint
    +
    public func transformPoint<Vector: Vector4FloatingPoint>(
    +    _ vec: Vector
    +) -> Vector where Vector.Scalar == Scalar
    @@ -1980,7 +1984,9 @@

    Declaration

    Declaration

    Swift

    -
    public func transformPoint<Vector>(_ vec: Vector) -> Vector where Scalar == Vector.Scalar, Vector : Vector3FloatingPoint
    +
    public func transformPoint<Vector: Vector3FloatingPoint>(
    +    _ vec: Vector
    +) -> Vector where Vector.Scalar == Scalar
    @@ -2011,7 +2017,9 @@

    Declaration

    Declaration

    Swift

    -
    public func transformVector<Vector>(_ vec: Vector) -> Vector where Scalar == Vector.Scalar, Vector : Vector3FloatingPoint
    +
    public func transformVector<Vector: Vector3FloatingPoint>(
    +    _ vec: Vector
    +) -> Vector where Vector.Scalar == Scalar
    @@ -2150,7 +2158,9 @@

    Declaration

    Declaration

    Swift

    -
    public static func makeScale<Vector>(_ vec: Vector) -> Matrix4x4<Scalar> where Scalar == Vector.Scalar, Vector : Vector3Type
    +
    public static func makeScale<Vector: Vector3Type>(
    +    _ vec: Vector
    +) -> Self where Vector.Scalar == Scalar
    @@ -2290,7 +2300,9 @@

    Declaration

    Declaration

    Swift

    -
    public static func makeTranslation<Vector>(_ vec: Vector) -> Matrix4x4<Scalar> where Scalar == Vector.Scalar, Vector : Vector3Type
    +
    public static func makeTranslation<Vector: Vector3Type>(
    +    _ vec: Vector
    +) -> Self where Vector.Scalar == Scalar
    @@ -2527,7 +2539,7 @@

    Declaration

    diff --git a/Structs/NCapsule.html b/Structs/NCapsule.html index 6d92a0cc..10a5ca1f 100644 --- a/Structs/NCapsule.html +++ b/Structs/NCapsule.html @@ -1410,7 +1410,7 @@

    Declaration

    diff --git a/Structs/NRectangle.html b/Structs/NRectangle.html index 21472ef4..2312a9ef 100644 --- a/Structs/NRectangle.html +++ b/Structs/NRectangle.html @@ -1588,7 +1588,9 @@

    Declaration

    Swift

    @inlinable
    -public mutating func expand<S>(toInclude points: S) where Vector == S.Element, S : Sequence
    +public mutating func expand<S: Sequence>( + toInclude points: S +) where S.Element == Vector
    @@ -1917,7 +1919,9 @@

    Available where Vector: Declaration

    Swift

    -
    public func intersects<Line>(line: Line) -> Bool where Vector == Line.Vector, Line : LineFloatingPoint
    +
    public func intersects<Line>(
    +    line: Line
    +) -> Bool where Line : LineFloatingPoint, Vector == Line.Vector
    @@ -1943,7 +1947,9 @@

    Declaration

    Declaration

    Swift

    -
    public func intersection<Line>(with line: Line) -> ConvexLineIntersection<Vector> where Vector == Line.Vector, Line : LineFloatingPoint
    +
    public func intersection<Line>(
    +    with line: Line
    +) -> ConvexLineIntersection<Vector> where Line: LineFloatingPoint, Vector == Line.Vector
    @@ -1984,7 +1990,7 @@

    Declaration

    diff --git a/Structs/NSphere.html b/Structs/NSphere.html index a5f3efaa..b2bbfdea 100644 --- a/Structs/NSphere.html +++ b/Structs/NSphere.html @@ -1293,7 +1293,7 @@

    Available where Vector:
    -

    Retunrs an NSphere with center .zero and radius 1.

    +

    Returns an NSphere with center .zero and radius 1.

    @@ -1443,7 +1443,9 @@

    Declaration

    Swift

    @inlinable
    -public func intersects<Line>(line: Line) -> Bool where Vector == Line.Vector, Line : LineFloatingPoint
    +public func intersects<Line: LineFloatingPoint>( + line: Line +) -> Bool where Line.Vector == Vector
    @@ -1473,7 +1475,9 @@

    Declaration

    Swift

    @inlinable
    -public func intersection<Line>(with line: Line) -> ConvexLineIntersection<Vector> where Vector == Line.Vector, Line : LineFloatingPoint
    +public func intersection<Line: LineFloatingPoint>( + with line: Line +) -> ConvexLineIntersection<Vector> where Line.Vector == Vector
    @@ -1488,7 +1492,7 @@

    Declaration

    diff --git a/Structs/NSquare.html b/Structs/NSquare.html index 7de07420..4409f8cd 100644 --- a/Structs/NSquare.html +++ b/Structs/NSquare.html @@ -1411,7 +1411,9 @@

    Available where Vector: Declaration

    Swift

    -
    public func intersects<Line>(line: Line) -> Bool where Vector == Line.Vector, Line : LineFloatingPoint
    +
    public func intersects<Line>(
    +    line: Line
    +) -> Bool where Line: LineFloatingPoint, Line.Vector == Vector
    @@ -1437,7 +1439,9 @@

    Declaration

    Declaration

    Swift

    -
    public func intersection<Line>(with line: Line) -> ConvexLineIntersection<Vector> where Vector == Line.Vector, Line : LineFloatingPoint
    +
    public func intersection<Line>(
    +    with line: Line
    +) -> ConvexLineIntersection<Vector> where Line : LineFloatingPoint, Vector == Line.Vector
    @@ -1478,7 +1482,7 @@

    Declaration

    diff --git a/Structs/PointCloud.html b/Structs/PointCloud.html index e3374fff..42c042f1 100644 --- a/Structs/PointCloud.html +++ b/Structs/PointCloud.html @@ -1258,7 +1258,7 @@

    Declaration

    diff --git a/Structs/PointNormal.html b/Structs/PointNormal.html index f73310ef..8c5c98f7 100644 --- a/Structs/PointNormal.html +++ b/Structs/PointNormal.html @@ -1255,7 +1255,7 @@

    Declaration

    diff --git a/Structs/PointNormalPlane.html b/Structs/PointNormalPlane.html index bfb14a72..3b179dc6 100644 --- a/Structs/PointNormalPlane.html +++ b/Structs/PointNormalPlane.html @@ -1243,7 +1243,7 @@

    Declaration

    diff --git a/Structs/ProjectivePointNormalPlane3.html b/Structs/ProjectivePointNormalPlane3.html index 71caeec4..3f3796a5 100644 --- a/Structs/ProjectivePointNormalPlane3.html +++ b/Structs/ProjectivePointNormalPlane3.html @@ -1119,7 +1119,7 @@

    Declaration

    defines the right, or x, axis for the projective plane.

    This value is derived from normal and upAxis, and is provided -along with those values to reduce recomputations when handling projections.

    +along with those values to reduce recomputation when handling projections.

    @@ -1454,7 +1454,9 @@

    Declaration

    Declaration

    Swift

    -
    public func projectLineIntersection<Line>(_ line: Line) -> Coordinates? where Vector == Line.Vector, Line : Line3FloatingPoint
    +
    public func projectLineIntersection<Line: Line3FloatingPoint>(
    +    _ line: Line
    +) -> Coordinates? where Line.Vector == Vector
    @@ -1550,7 +1552,7 @@

    Declaration

    diff --git a/Structs/Ray.html b/Structs/Ray.html index 19ec2db9..2e9ec33f 100644 --- a/Structs/Ray.html +++ b/Structs/Ray.html @@ -1384,7 +1384,9 @@

    Declaration

    Declaration

    Swift

    -
    public func containsProjectedNormalizedMagnitude(_ scalar: Vector.Scalar) -> Bool
    +
    public func containsProjectedNormalizedMagnitude(
    +    _ scalar: Vector.Scalar
    +) -> Bool
    @@ -1414,7 +1416,9 @@

    Declaration

    Declaration

    Swift

    -
    public func clampProjectedNormalizedMagnitude(_ scalar: Vector.Scalar) -> Vector.Scalar
    +
    public func clampProjectedNormalizedMagnitude(
    +    _ scalar: Vector.Scalar
    +) -> Vector.Scalar
    @@ -1457,7 +1461,7 @@

    Declaration

    diff --git a/Structs/RoundNRectangle.html b/Structs/RoundNRectangle.html index 6fcd3e23..9bf5435c 100644 --- a/Structs/RoundNRectangle.html +++ b/Structs/RoundNRectangle.html @@ -1173,7 +1173,7 @@

    Declaration

    diff --git a/Structs/SphereCoordinates.html b/Structs/SphereCoordinates.html index 29b2f15c..ebc402c2 100644 --- a/Structs/SphereCoordinates.html +++ b/Structs/SphereCoordinates.html @@ -1104,7 +1104,7 @@

    Declaration

    diff --git a/Structs/Torus3.html b/Structs/Torus3.html index 7b94912b..716c4c8f 100644 --- a/Structs/Torus3.html +++ b/Structs/Torus3.html @@ -1317,7 +1317,7 @@

    Declaration

    diff --git a/Structs/Triangle.html b/Structs/Triangle.html index 25582d6d..fc2615de 100644 --- a/Structs/Triangle.html +++ b/Structs/Triangle.html @@ -1540,7 +1540,7 @@

    Declaration

    diff --git a/Structs/Triangle/Coordinates.html b/Structs/Triangle/Coordinates.html index a1cb6427..d9354122 100644 --- a/Structs/Triangle/Coordinates.html +++ b/Structs/Triangle/Coordinates.html @@ -1148,7 +1148,7 @@

    Available where Vector.Scalar:
    -

    Returns zerod-out barycentric coordinates.

    +

    Returns zeroed-out barycentric coordinates.

    @@ -1170,7 +1170,7 @@

    Declaration

    diff --git a/Structs/UnitVector.html b/Structs/UnitVector.html index 467e890d..0d93b2e6 100644 --- a/Structs/UnitVector.html +++ b/Structs/UnitVector.html @@ -1149,7 +1149,7 @@

    Parameters

    diff --git a/Structs/Vector2.html b/Structs/Vector2.html index 18ee360b..95876356 100644 --- a/Structs/Vector2.html +++ b/Structs/Vector2.html @@ -2815,7 +2815,7 @@

    Declaration

    diff --git a/Structs/Vector3.html b/Structs/Vector3.html index 3eb11096..677d6fa7 100644 --- a/Structs/Vector3.html +++ b/Structs/Vector3.html @@ -2470,7 +2470,7 @@

    Declaration

    diff --git a/Structs/Vector4.html b/Structs/Vector4.html index 5574fc6f..0ddd6fa0 100644 --- a/Structs/Vector4.html +++ b/Structs/Vector4.html @@ -2437,7 +2437,7 @@

    Declaration

    diff --git a/Typealiases.html b/Typealiases.html index ec86fa25..13b5d11e 100644 --- a/Typealiases.html +++ b/Typealiases.html @@ -4757,7 +4757,7 @@

    Declaration

    diff --git a/changelog.html b/changelog.html index fc8e3ef3..553e5c6d 100644 --- a/changelog.html +++ b/changelog.html @@ -1000,6 +1000,11 @@

    Changelog

    [main]