#include "UniStrokeTemplate.h" FUniStrokeTemplate::FUniStrokeTemplate() { this->Name = ""; this->Vector = TArray(); this->Points = TArray(); } FUniStrokeTemplate::FUniStrokeTemplate(const FString& Name, const TArray& Points) { this->Name = Name; this->Points = Points; FUniStrokePoint::Resample(this->Points, NumPoints); FUniStrokePoint::RotateToZero(this->Points); FUniStrokePoint::ScaleToSquare(this->Points, SquareSize); FUniStrokePoint::TranslateToOrigin(this->Points); this->Vector = FUniStrokePoint::Vectorize(this->Points); } FUniStrokeTemplate::~FUniStrokeTemplate() { // DO NOTHING }