diff options
Diffstat (limited to 'src/collision/ColModel.cpp')
-rw-r--r-- | src/collision/ColModel.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/collision/ColModel.cpp b/src/collision/ColModel.cpp index 49847dbd..2de7f736 100644 --- a/src/collision/ColModel.cpp +++ b/src/collision/ColModel.cpp @@ -7,6 +7,8 @@ CColModel::CColModel(void) { + boundingSphere.Set(0.0001f, CVector(0.0f, 0.0f, 0.0f)); + boundingBox.Set(CVector(0.0f, 0.0f, 0.0f), CVector(0.0f, 0.0f, 0.0f)); numSpheres = 0; spheres = nil; numLines = 0; @@ -18,7 +20,7 @@ CColModel::CColModel(void) triangles = nil; trianglePlanes = nil; level = LEVEL_GENERIC; // generic col slot - ownsCollisionVolumes = true; +// ownsCollisionVolumes = true; } CColModel::~CColModel(void) @@ -204,3 +206,10 @@ CColModel::operator=(const CColModel &other) } return *this; } + +bool +CColModel::Write(base::cRelocatableChunkWriter &writer, bool allocSpace) +{ + assert(0 && "TODO(LCS)"); + return 1; +} |