Doc: Add missing doc to GeometryUtils.

pull/5086/head
Kim Kulling 2023-05-04 00:04:56 +02:00
parent d58201a579
commit 167d811ff7
1 changed files with 10 additions and 10 deletions

View File

@ -63,18 +63,18 @@ public:
/// @return The area. /// @return The area.
static ai_real calculateAreaOfTriangle( const aiFace& face, aiMesh* mesh ); static ai_real calculateAreaOfTriangle( const aiFace& face, aiMesh* mesh );
/// @brief /// @brief Will calculate the intersection between a ray and a plane
/// @param ray /// @param ray The ray to test for
/// @param planePos /// @param planePos A point on the plane
/// @param planeNormal /// @param planeNormal The plane normal to describe its orientation
/// @param pos /// @param pos The position of the intersection.
/// @return /// @return true is an intersection was detected, false if not.
static bool PlaneIntersect(const aiRay& ray, const aiVector3D& planePos, const aiVector3D& planeNormal, aiVector3D& pos); static bool PlaneIntersect(const aiRay& ray, const aiVector3D& planePos, const aiVector3D& planeNormal, aiVector3D& pos);
/// @brief /// @brief Will normalize an array of vectors.
/// @param vectorArrayIn /// @param vectorArrayIn The incoming arra of vectors.
/// @param vectorArrayOut /// @param vectorArrayOut The normalized vectors.
/// @param numVectors /// @param numVectors The array size.
static void normalizeVectorArray(aiVector3D *vectorArrayIn, aiVector3D *vectorArrayOut, size_t numVectors); static void normalizeVectorArray(aiVector3D *vectorArrayIn, aiVector3D *vectorArrayOut, size_t numVectors);
}; };