Added missing initialisation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5652 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
2bb985313d
commit
6d3e1ebb06
@ -22,6 +22,18 @@
|
|||||||
#include "modes/world.hpp"
|
#include "modes/world.hpp"
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
/** Constructor: Initialises all data structures with zero.
|
||||||
|
*/
|
||||||
|
TriangleMesh::TriangleMesh() : m_mesh()
|
||||||
|
{
|
||||||
|
m_body = NULL;
|
||||||
|
m_motion_state = NULL;
|
||||||
|
m_collision_shape = NULL;
|
||||||
|
} // TriangleMesh
|
||||||
|
|
||||||
|
// -----------------------------------------------------------------------------
|
||||||
|
/** Destructor: delete all allocated data structures.
|
||||||
|
*/
|
||||||
TriangleMesh::~TriangleMesh()
|
TriangleMesh::~TriangleMesh()
|
||||||
{
|
{
|
||||||
if(m_body)
|
if(m_body)
|
||||||
|
Loading…
Reference in New Issue
Block a user