BLI: add float3x3 * float3 operator overload

This commit is contained in:
Jacques Lucke
2022-07-05 15:38:30 +02:00
parent d4099465cd
commit 8f0907b797

View File

@@ -152,6 +152,13 @@ struct float3x3 {
return result;
}
friend float3 operator*(const float3x3 &a, const float3 &b)
{
float3 result;
mul_v3_m3v3(result, a.values, b);
return result;
}
void operator*=(const float3x3 &other)
{
mul_m3_m3_post(values, other.values);