From 39ab19eec00a182dbe65e5534d7bc568b1ea6e85 Mon Sep 17 00:00:00 2001 From: ronnie Date: Fri, 10 Apr 2026 21:02:05 -0400 Subject: [PATCH] add some comments and commented out HG_Basic --- .github/workflows/auto_release.yaml | 2 +- .github/workflows/release.yaml | 8 ++++---- GodotHelper/src/Raycasts/RaycastExtensions.cs | 12 +++++++++--- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/auto_release.yaml b/.github/workflows/auto_release.yaml index 2baf3a2..ec79cab 100644 --- a/.github/workflows/auto_release.yaml +++ b/.github/workflows/auto_release.yaml @@ -76,6 +76,6 @@ jobs: if: needs.auto_release.outputs.should_release == 'true' secrets: NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} - GH_BASIC: ${{ secrets.GH_BASIC }} + # GH_BASIC: ${{ secrets.GH_BASIC }} with: bump: patch diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 01ab6fc..d46076b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -35,10 +35,10 @@ jobs: - name: Checkout uses: actions/checkout@v6 # with: - # token: ${{ secrets.GH_BASIC }} - # lfs: true - # submodules: 'recursive' - # fetch-depth: 0 # So we can get all tags. + # token: ${{ secrets.GH_BASIC }} + # lfs: true + # submodules: 'recursive' + # fetch-depth: 0 # So we can get all tags. - name: Read Current Project Version id: current-version diff --git a/GodotHelper/src/Raycasts/RaycastExtensions.cs b/GodotHelper/src/Raycasts/RaycastExtensions.cs index 7ce47b1..001ad3f 100644 --- a/GodotHelper/src/Raycasts/RaycastExtensions.cs +++ b/GodotHelper/src/Raycasts/RaycastExtensions.cs @@ -1,12 +1,14 @@ +namespace GodotHelpers.Raycasts; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using Godot; using Godot.Collections; using SJK.Functional; -namespace GodotHelpers.Raycasts; - - +/// +/// Extensions for . +/// Allows for an static way of casting an godot Raycast3D. +/// public static class RaycastExtensions { // --- 3D --- @@ -45,6 +47,10 @@ public static class RaycastExtensions // --- 2D --- + /// + /// Extensions for . + /// Allows for an static way of casting an godot Raycast3D. + /// public static RaycastResult2D? RaycastEx(this PhysicsDirectSpaceState2D space, Vector2 from, Vector2 to, uint collisionMask = uint.MaxValue, Rid[]? exclude = null, bool hitFromInside = false) { var query = new PhysicsRayQueryParameters2D