1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-10 04:55:42 +00:00
Commit Graph

56 Commits

Author SHA1 Message Date
3f08f5270f
feat: add DebugUtility.DrawFunction 2023-04-13 01:48:58 +01:00
e6025b1a4c
fix: validate null arguments in X10D.Unity
The CA runs are really testing me today.
2023-04-11 17:09:14 +01:00
2e9f27b6b7
fix: validate null arguments for Polygon and PolygonF extensions 2023-04-11 17:05:58 +01:00
5ff521073c
fix: suppress CA5394
This analysis warning is irrelevant. We're making extension methods here, dammit! This will be the consumer's responsibility to worry about.
2023-04-11 17:04:09 +01:00
ac499537ed
feat: add RaycastHit.GetComponent and RaycastHit.TryGetComponent 2023-04-11 16:58:16 +01:00
a8ebe9c902
fix: fix issue with GetComponentsInChildrenOnly checking wrong Transform 2023-04-10 13:42:12 +01:00
77ab429f72
refactor: remove Copy/Move component functionality
This may be returned at a later point.
2023-04-10 13:26:38 +01:00
a4a1d3b13a
fix: only copy Unity-serialized members 2023-04-07 13:09:07 +01:00
420ec2433a
feat: add Component move/copy
As usual, experimental API - subject to change.
2023-04-07 01:21:56 +01:00
5e4af9a9e1
style: move MethodImplOptions to resource file
Prevents repetition through #if directives in every file
2023-04-04 10:34:16 +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
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
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
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
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