tassetptr impl, harvesting stuff, relevancy?

This commit is contained in:
Milxnor
2023-03-26 21:37:47 -04:00
parent f42c420486
commit 9c8b327cd7
23 changed files with 267 additions and 37 deletions

View File

@@ -101,4 +101,14 @@ struct FQuat FRotator::Quaternion()
#endif
return RotationQuat;
}
FVector FRotator::Vector() const
{
float CP, SP, CY, SY;
SinCos(&SP, &CP, Pitch * (PI / 180.0f));
SinCos(&SY, &CY, Yaw * (PI / 180.0f));
FVector V = FVector(CP * CY, CP * SY, SP);
return V;
}