08d84ed6a2
Add Circumference and Diameter properties to Sphere
2022-06-01 19:43:06 +01:00
221ee70f0c
Add Sphere/Cube.Volume property
2022-06-01 19:42:51 +01:00
76eb59f6c5
Add ctor overloads for Cuboid
2022-06-01 19:42:30 +01:00
165cdf16d0
Add predefined Cuboid and Sphere values
2022-06-01 19:42:11 +01:00
88dcbdc3c6
[ci skip] Refer to points as vertices
2022-06-01 19:41:43 +01:00
d91a3d2a8c
Add PointF.ToVector2 for .NET < 6
2022-06-01 19:41:13 +01:00
66a85d4f80
Fix incorrect wording in xmldoc
2022-06-01 19:40:06 +01:00
2c1da816ee
Add relational members to Sphere
2022-06-01 19:39:58 +01:00
0e62f233f0
Use auto-property for Polygon and Polyhedron
...
This ensures a new instance is created
2022-06-01 19:11:52 +01:00
32485b727a
Add DebugEx class
2022-06-01 19:00:36 +01:00
f5af7b9513
Fix xmldoc wording in Polygon and Polyhedron
...
It's a class now, not a struct
2022-06-01 18:59:31 +01:00
eaa88ce11a
Add Polygon/Polyhedron extension methods for Unity vector types
2022-06-01 18:38:14 +01:00
43a155ad90
Add Vector2/3Int.ToSystemVector
2022-06-01 18:37:33 +01:00
2b8f763184
Add Quaternion.Multiply(Vector3)
...
Functions as an equivalent to Unity's Quaternion*Vector3 operator
2022-06-01 18:34:12 +01:00
ae82b92f23
Add Polyhedron class
...
Updates CHANGELOG to mention missing types
2022-06-01 18:33:30 +01:00
9d397b9538
Add Sphere struct
2022-06-01 18:32:34 +01:00
b8e6169c6f
Add Cuboid struct
...
NB: This struct has 7 auto-properties totalling 88 bytes. I feel there may be a way to calculate LocalFront__ given the center point, orientation, and size, but it's been a long day and I cannot think how to optimize this at the moment
2022-06-01 18:32:26 +01:00
0b3bf01fa0
Convert Polygon/F to class
...
This change also now refers to "Points" as "Vertices"
2022-06-01 18:30:48 +01:00
34b4777a8e
Use in modifier where logical to reduce overhead
2022-06-01 18:29:41 +01:00
09393029e8
Add separated argument constructor to Circle/F
2022-06-01 18:29:12 +01:00
b0cce087b3
Add additional ctor overloads for Ellipse/F
2022-06-01 17:05:25 +01:00
ea56f2be48
Add Line3D
2022-06-01 16:47:03 +01:00
ac23d01554
Mention Ellipse/F in CHANGELOG
2022-06-01 15:37:21 +01:00
b666b272a1
Add missing unit tests, bumps coverage to 99%
2022-06-01 15:36:45 +01:00
5e835e10f1
Add Ellipse struct
2022-06-01 15:36:18 +01:00
2f74ef5f50
Initialize _points field as null
2022-06-01 15:35:53 +01:00
5f53495817
Add Circle/F conversions
2022-06-01 15:35:33 +01:00
b5227f58d3
Code cleanup for X10D.Tests
2022-06-01 15:35:00 +01:00
e182b0f821
Fix invalid pattern match in CircleF
2022-06-01 15:33:44 +01:00
9c1714b419
Fix xmldoc for Line -> LineF conversion
2022-06-01 14:47:41 +01:00
e9b0ed08d4
Add primitive 2D structs to complement System.Drawing types
2022-06-01 13:46:22 +01:00
aca68cce72
[ci skip] Format csproj
2022-06-01 13:45:09 +01:00
74af813d78
Add RectInt conversions
2022-06-01 11:06:24 +01:00
5d63560146
Marked Singleton<T> obsolete
...
This pattern is discouraged.
... I regret adding it.
2022-05-31 11:52:59 +01:00
c600825f55
[ci skip] Update X10D.Unity.Tests 2021.3.3f1
2022-05-31 11:52:37 +01:00
28dd88cf0a
Add Vector2/3Int method parity
...
* Added Vector2/3Int.Deconstruct
* Added Vector2/3Int.WithX
* Added Vector2/3Int.WithY
* Added Vector3Int.WithZ
* Added Vector2Int.ToSystemPoint
* Added Vector2Int.ToSystemSize
2022-05-31 11:41:29 +01:00
f35f398d7f
Add conversions between Size(F)/Point(F)/Vector and Rect/Rectangle(F)
2022-05-28 14:19:46 +01:00
7ca206721b
Add MathUtility.InverseLerp ( #60 )
2022-05-23 10:33:52 +01:00
683e02cc2a
Add RoundUpToPowerOf2
2022-05-18 11:55:47 +01:00
5aea71465a
Add UnityEngine/System.Drawing color conversions
2022-05-16 10:41:53 +01:00
e23aa13fda
Fix alpha values in Color32Tests
2022-05-16 10:40:32 +01:00
d312d05f7a
Add vector tuple deconstruction
2022-05-16 10:30:55 +01:00
1bb1feb89b
Bump to 3.2.0
2022-05-16 10:19:53 +01:00
838a7cf72a
Merge branch 'main' into develop
2022-05-16 10:12:36 +01:00
e3b223b36d
[ci skip] Fix misplaced backtick
2022-05-14 20:10:21 +01:00
1b155935c1
[ci skip] Drop render from type input
2022-05-14 20:08:44 +01:00
2a0afada76
[ci skip] Improve issue templates
2022-05-14 20:07:54 +01:00
eb31e0fe3f
[ci skip] Migrate issue template to issue forms
...
https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms
2022-05-14 20:04:06 +01:00
0c169cdaf4
[ci skip] .md not .yml for coc
2022-05-14 19:43:32 +01:00
98665e3363
[ci skip] Add code of conduct
2022-05-14 19:42:44 +01:00