1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-14 04:35:41 +00:00
Commit Graph

59 Commits

Author SHA1 Message Date
9ee99d72d3
[ci skip] style: upgrade projects to C# 11
NB: While using a higher C# version with lower framework version is possible, it's generally advised against because C# syntax may map to .NET types not available in older versions such as .NET Standard 2.1.

This change does not invite the codebase to upgrade to newer types, but rather take advantage of syntax sugar (such as file-scoped namespaces, when this project was updated to C# 10) that does not effect the compiled result.

However, this change does open up the possibilities to add extension methods for the "generic math" interfaces (made possible by static interface members), and these upcoming methods will be targeted to .NET 7 or greater **ONLY**.
2023-03-31 17:30:30 +01:00
4dd31ec1b6
[ci skip] style: reformat & cleanup solution 2023-03-29 17:46:56 +01:00
a09492d418
perf: use UnsafeUtility for Unity<->System conversions 2023-03-29 00:14:49 +01:00
e3dcad5690
build(nupkg): use MSBuildProjectDirectory and go up 1 level
SolutionDir macro is returning empty/null in workflow, causing a job failure since CHANGELOG.md is not in root.

this may or may not fix the workflow. tba
2023-03-28 15:11:09 +01:00
2cb6567410
build(nupkg): add PackageReleaseNotes to csproj 2023-03-28 14:27:15 +01:00
Oliver Booth
a685d6ec39
Merge branch 'develop' into main 2023-03-07 17:30:15 +00:00
RealityProgrammer
e1a7ac03c6 Added SpanExtensions and the reinterpret between Unity's structs to System.Numerics structs 2023-03-06 06:49:07 +07:00
384ec3f61c
[ci skip] Set ContinuousIntegrationBuild to true for CI builds 2023-02-05 13:51:58 +00:00
ea51adc632
Cache Singleton<T> instance on Awake 2022-12-31 14:49:32 +00:00
dcbe591d66
[X10D.Unity] Add various yield instructions 2022-07-14 12:00:55 +01:00
3a5b017a72
Add Color.Deconstruct 2022-07-13 14:35:56 +01:00
c0395feba3
Add GetClosestConsoleColor (#66) 2022-07-13 14:18:12 +01:00
46bfa17b93
Add vector and point component rounding (#65) 2022-07-13 12:09:37 +01:00
7231c41466
[ci skip] Fix source validation errors 2022-07-08 13:08:24 +01:00
02cc897426
Add Point.IsOnLine (#64) 2022-06-29 17:55:04 +01:00
519673d7ce
Rename sides parameter to segments 2022-06-03 12:11:34 +01:00
a4b6033b94
Fix langword cref in xmldoc 2022-06-03 12:10:43 +01:00
5be42fea5a
Remove DebugEx partials into subfolder 2022-06-03 10:37:03 +01:00
e9e081b220
Add Bounds overload to DebugEx.DrawWireCube 2022-06-02 12:18:03 +01:00
a8d3ac96ca
Fix wording in xmldoc for DebugEx.DrawWireCube 2022-06-02 12:17:47 +01:00
75b79589e8
Remove Box2D struct, use built in Rect(angle/F) 2022-06-02 12:15:04 +01:00
96170eac6f
Remove Box struct, use custom Cuboid, rename Box to WireCube 2022-06-02 12:14:16 +01:00
32485b727a
Add DebugEx class 2022-06-01 19:00:36 +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
b0cce087b3
Add additional ctor overloads for Ellipse/F 2022-06-01 17:05:25 +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
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
5aea71465a
Add UnityEngine/System.Drawing color conversions 2022-05-16 10:41:53 +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
542b56fd01
Update X10D.Unity.Tests 2021.3.2f1
Reference Unity3D.SDK 2021.1.14f1 for X10D.Unity
2022-05-13 09:10:59 +01:00
048e0a22f7
Add Singleton<T> class 2022-05-13 09:09:25 +01:00
1428618ca9
Add System.Numerics/UnityEngine vector/quaternion conversions 2022-05-09 20:40:55 +01:00
d17e1670de
Remove call to Cast, avoid alloc of Transform.Enumerator
Children are now retrieved using a combination of childCount and GetChild method
2022-05-09 19:47:02 +01:00
4d19e2f64c
Add Vector.With* methods (resolves #56) 2022-05-09 10:33:21 +01:00
d904daf431
Add Color.With* methods (resolves #55) 2022-05-09 10:01:03 +01:00
df0257f498
Add GameObject.SetLayerRecursively (#57) 2022-05-08 22:37:03 +01:00
aa30abea93
Add Color.Inverted (#54) 2022-05-08 19:52:49 +01:00
051406c279
Fix xmldoc to reference Vector3.magnitude not .Length() 2022-05-08 00:07:07 +01:00
60a3459663
Add GetComponentsInChildrenOnly<T> 2022-05-08 00:06:39 +01:00
064011cb68
Format csproj 2022-05-07 23:16:17 +01:00
f257aebc28
Add .NET Standard 2.1 target, reintroduce Unity support 2022-05-05 18:00:38 +01:00
f9b4c56f05 Remove X10D.Unity project from repo 2022-02-14 16:50:07 +00:00
6e6d6c48fb
(#14) Declare using directives outside of namespace 2021-07-19 12:48:58 +01:00
8059b067c9
Remove BetterBehavior and GameTime types 2021-07-19 12:39:07 +01:00
1443d7d4cf Update X10D.Unity to 2020.3.12.f1 LTS 2021-06-27 12:20:51 +01:00
937d701d14 Remove ruleset and unused analyzers 2021-03-07 18:00:17 +00:00