Commit Graph

699 Commits

Author SHA1 Message Date
Oliver Booth e41c4a6c96
CLSCompliant(true) 2022-07-21 11:27:45 +01:00
Oliver Booth 87042d89ba
Add X10D.Hosting & X10D.DSharpPlus 2022-07-20 17:50:47 +01:00
Oliver Booth 7e2650bd41
[ci skip] Update project to 2021.3.5f1 2022-07-14 12:10:22 +01:00
Oliver Booth dcbe591d66
[X10D.Unity] Add various yield instructions 2022-07-14 12:00:55 +01:00
Oliver Booth 02765b8b19
Add IList<T>.Swap (#62) 2022-07-14 10:22:37 +01:00
Oliver Booth 3a5b017a72
Add Color.Deconstruct 2022-07-13 14:35:56 +01:00
Oliver Booth c0395feba3
Add GetClosestConsoleColor (#66) 2022-07-13 14:18:12 +01:00
Oliver Booth 46bfa17b93
Add vector and point component rounding (#65) 2022-07-13 12:09:37 +01:00
Oliver Booth efa5145836
Fix ulong.PopCount for .NET < Core 3.1 fallback
Previous implementation copied the uint version
2022-07-08 13:24:07 +01:00
Oliver Booth b1eadf61f4
Add PopCount for built-in integer types 2022-07-08 13:09:34 +01:00
Oliver Booth 7231c41466
[ci skip] Fix source validation errors 2022-07-08 13:08:24 +01:00
Oliver Booth 2fb3eb77dd
Add DateTime(Offset).GetIso8601WeekOfYear 2022-07-05 21:26:45 +01:00
Oliver Booth 02cc897426
Add Point.IsOnLine (#64) 2022-06-29 17:55:04 +01:00
Oliver Booth 2e8626a32b
Add DirectoryInfo.Clear (#63) 2022-06-21 13:57:20 +01:00
Oliver Booth 519673d7ce
Rename sides parameter to segments 2022-06-03 12:11:34 +01:00
Oliver Booth a4b6033b94
Fix langword cref in xmldoc 2022-06-03 12:10:43 +01:00
Oliver Booth 3d896ea5d1
Add IList<T>.RemoveRange(Range) 2022-06-03 11:53:40 +01:00
Oliver Booth 5be42fea5a
Remove DebugEx partials into subfolder 2022-06-03 10:37:03 +01:00
Oliver Booth de7a621545
[ci skip] Rename DrawBox to DrawWireCube 2022-06-02 12:24:26 +01:00
Oliver Booth e9e081b220
Add Bounds overload to DebugEx.DrawWireCube 2022-06-02 12:18:03 +01:00
Oliver Booth a8d3ac96ca
Fix wording in xmldoc for DebugEx.DrawWireCube 2022-06-02 12:17:47 +01:00
Oliver Booth 75b79589e8
Remove Box2D struct, use built in Rect(angle/F) 2022-06-02 12:15:04 +01:00
Oliver Booth 96170eac6f
Remove Box struct, use custom Cuboid, rename Box to WireCube 2022-06-02 12:14:16 +01:00
Oliver Booth e501f3b75b
[ci skip] Call AddVertex, not AddPoint 2022-06-01 19:49:09 +01:00
Oliver Booth 793fa47524
Add DebugEx integration tests 2022-06-01 19:44:15 +01:00
Oliver Booth 3b78235957
Add tests for 3D shapes 2022-06-01 19:43:52 +01:00
Oliver Booth f02de2ad14
Refer to points as vertices in unit tests 2022-06-01 19:43:24 +01:00
Oliver Booth 08d84ed6a2
Add Circumference and Diameter properties to Sphere 2022-06-01 19:43:06 +01:00
Oliver Booth 221ee70f0c
Add Sphere/Cube.Volume property 2022-06-01 19:42:51 +01:00
Oliver Booth 76eb59f6c5
Add ctor overloads for Cuboid 2022-06-01 19:42:30 +01:00
Oliver Booth 165cdf16d0
Add predefined Cuboid and Sphere values 2022-06-01 19:42:11 +01:00
Oliver Booth 88dcbdc3c6
[ci skip] Refer to points as vertices 2022-06-01 19:41:43 +01:00
Oliver Booth d91a3d2a8c
Add PointF.ToVector2 for .NET < 6 2022-06-01 19:41:13 +01:00
Oliver Booth 66a85d4f80
Fix incorrect wording in xmldoc 2022-06-01 19:40:06 +01:00
Oliver Booth 2c1da816ee
Add relational members to Sphere 2022-06-01 19:39:58 +01:00
Oliver Booth 0e62f233f0
Use auto-property for Polygon and Polyhedron
This ensures a new instance is created
2022-06-01 19:11:52 +01:00
Oliver Booth 32485b727a
Add DebugEx class 2022-06-01 19:00:36 +01:00
Oliver Booth f5af7b9513
Fix xmldoc wording in Polygon and Polyhedron
It's a class now, not a struct
2022-06-01 18:59:31 +01:00
Oliver Booth eaa88ce11a
Add Polygon/Polyhedron extension methods for Unity vector types 2022-06-01 18:38:14 +01:00
Oliver Booth 43a155ad90
Add Vector2/3Int.ToSystemVector 2022-06-01 18:37:33 +01:00
Oliver Booth 2b8f763184
Add Quaternion.Multiply(Vector3)
Functions as an equivalent to Unity's Quaternion*Vector3 operator
2022-06-01 18:34:12 +01:00
Oliver Booth ae82b92f23
Add Polyhedron class
Updates CHANGELOG to mention missing types
2022-06-01 18:33:30 +01:00
Oliver Booth 9d397b9538
Add Sphere struct 2022-06-01 18:32:34 +01:00
Oliver Booth 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
Oliver Booth 0b3bf01fa0
Convert Polygon/F to class
This change also now refers to "Points" as "Vertices"
2022-06-01 18:30:48 +01:00
Oliver Booth 34b4777a8e
Use in modifier where logical to reduce overhead 2022-06-01 18:29:41 +01:00
Oliver Booth 09393029e8
Add separated argument constructor to Circle/F 2022-06-01 18:29:12 +01:00
Oliver Booth b0cce087b3
Add additional ctor overloads for Ellipse/F 2022-06-01 17:05:25 +01:00
Oliver Booth ea56f2be48
Add Line3D 2022-06-01 16:47:03 +01:00
Oliver Booth ac23d01554
Mention Ellipse/F in CHANGELOG 2022-06-01 15:37:21 +01:00