add quat template specialization to the sglog module

This commit is contained in:
Mamadou Babaei
2023-03-28 10:39:42 +02:00
parent 49494693f3
commit 515f5306e7
+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>
{