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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user