add quat template specialization to the sglog module

This commit is contained in:
Mamadou Babaei
2023-03-28 10:37:41 +02:00
parent 685f2c4fea
commit 3d6238cf94
+18
View File
@@ -248,6 +248,24 @@ struct TFSGLogString<FName>
}
};
template<>
struct TFSGLogString<const FQuat>
{
static void Format(const FQuat& Value, FString& OutString)
{
OutString = FString::Printf(TEXT("%s"), Value.ToString().GetCharArray().GetData());
}
};
template<>
struct TFSGLogString<FQuat>
{
static void Format(const FQuat& Value, FString& OutString)
{
OutString = FString::Printf(TEXT("%s"), Value.ToString().GetCharArray().GetData());
}
};
template<>
struct TFSGLogString<const FRotator>
{