e2a608f11d
build: output debug symbols for all projects ( #75 )
2023-04-02 17:06:18 +01:00
ceaa254d7a
docs/perf: throw for null input
2023-04-02 03:12:04 +01:00
3d69cf362d
fix: CLSCompliant(false) for X10D.Unity
2023-04-02 03:11:22 +01:00
7e7825a170
fix: suppress CA1000
...
This analyzer warning does not apply here.
2023-04-02 03:10:58 +01:00
bc3dedfa7d
fix: rename DebugEx to DebugUtility
...
Prevents .NET analysers from throwing errors.
2023-04-02 03:10:36 +01:00
bfd3a5663d
[ci skip] ci: enable .NET analyzers for all projects
2023-04-02 01:11:14 +01:00
ee0df8c9c2
[ci skip] docs: vertically center Unity branding
2023-03-31 23:06:48 +01:00
150028716c
[ci skip] fix(docs): rename master -> main
...
This change was made quite a while ago, actually. Surprisingly, it's gone unnoticed for a long time.
"Nevermore," quoth the raven.
2023-03-31 23:02:56 +01:00
4cfa7fef52
[ci skip] fix(docs): fix CONTRIBUTING.md link
2023-03-31 23:01:19 +01:00
83f9737b02
[ci skip] docs(repo): add tailored README for X10D.Unity
2023-03-31 22:57:09 +01:00
78f2c13a1b
style: update branding
...
The icon is now exported from vector artboards rather than a raster.
2023-03-31 22:22:52 +01:00
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