Add BoundingSphere::Transform method

This commit is contained in:
Wojtek Figat
2021-02-23 09:53:44 +01:00
parent e4794c5754
commit 7fd542950f
3 changed files with 61 additions and 61 deletions

View File

@@ -218,6 +218,14 @@ public:
/// <param name="value2">The point to merge.</param>
/// <param name="result">When the method completes, contains the newly constructed bounding sphere.</param>
static void Merge(const BoundingSphere& value1, const Vector3& value2, BoundingSphere& result);
/// <summary>
/// Transforms the bounding sphere using the specified matrix.
/// </summary>
/// <param name="sphere">The sphere.</param>
/// <param name="matrix">The matrix.</param>
/// <param name="result">The result transformed sphere.</param>
static void Transform(const BoundingSphere& sphere, const Matrix& matrix, BoundingSphere& result);
};
template<>