Add document for joinToMainTrack

This commit is contained in:
Benau
2019-03-26 01:38:15 +08:00
parent 7719cd1d81
commit 66d6785dda

View File

@@ -757,6 +757,11 @@ scene::IAnimatedMeshSceneNode* TrackObject::getMesh()
} // getMesh
// ----------------------------------------------------------------------------
/* This function will join this (if true) static track object to main track
* model, the geometry creator in irrlicht will draw its physical shape to
* triangle mesh, so it can be combined to main track mesh.
* \return True if this track object is joinable and can be removed if needeed
*/
bool TrackObject::joinToMainTrack()
{
// If no physical object or there is animator, skip it