Add Basic Spell System (#9)

Co-authored-by: alhashij <alhashimy.janna@gmail.com>
Reviewed-on: #9
Co-authored-by: Lance1416 <lanceli1416@gmail.com>
Co-committed-by: Lance1416 <lanceli1416@gmail.com>
This commit was merged in pull request #9.
This commit is contained in:
2025-05-22 01:44:20 -04:00
committed by Lance Li
parent c040d71325
commit f3b2cf8c32
24 changed files with 196 additions and 76 deletions
@@ -8,8 +8,6 @@
#include "UniStrokeRecognizer.generated.h"
static constexpr int NumTemplates = 16;
static const float Diagonal = FMath::Sqrt(2 * FMath::Square(SquareSize));
static const float HalfDiagonal = 0.5 * Diagonal;
static constexpr float AngleRange = FMath::DegreesToRadians(45.0);
static constexpr float AnglePrecision = FMath::DegreesToRadians(2.0);
@@ -22,7 +20,7 @@ struct WIZARDINGCENTRAL_API FUniStrokeRecognizer
~FUniStrokeRecognizer();
FUniStrokeResult
Recognize(const TArray<FVector2D>& VectorPoints, const bool& UseProtractor);
Recognize(const TArray<FVector2D>& VectorPoints);
void
AddTemplate(const FString& Name, const TArray<FVector2D>& VectorPoints);