GridRotationUtils

GridRotationUtils

Utility class for grid rotation operations Shared-safe: stateless and thread-safe; safe to reuse across user scopes.

Project: GridPlacement v6.0
Layer: Core
Source: Core/Math/GridRotationUtils.cs
Namespace: GridBuilding.Core.Math
Kind: class

Parsing Method: AST-based (Roslyn) - NOT regex

⚠️ IMPORTANT: This documentation was generated using AST parsing, not regex.

Methods

DegreesToCardinal

Returns: CardinalDirection

Parameters:

  • float degrees

GetDirectionTileDelta

Returns: CoreVector2I

Parameters:

  • CardinalDirection direction