Optimize BoundingFrustum::Intersects(BoundingSphere)

This commit is contained in:
Wojtek Figat
2022-10-29 21:13:21 +02:00
parent 00be6ffb89
commit f1b67935b3
4 changed files with 16 additions and 5 deletions

View File

@@ -622,7 +622,7 @@ public:
}
// dot product with another vector
static T Dot(const Vector3Base& a, const Vector3Base& b)
FORCE_INLINE static T Dot(const Vector3Base& a, const Vector3Base& b)
{
return a.X * b.X + a.Y * b.Y + a.Z * b.Z;
}