keep track of number of non-zero voxels, use this information when deciding on shape-type

This commit is contained in:
Seth Alves 2015-05-30 18:14:54 -07:00
parent ad71d7b7a2
commit f955cb45b2
2 changed files with 0 additions and 8 deletions

View file

@ -114,9 +114,3 @@ void PolyVoxEntityItem::debugDump() const {
qCDebug(entities) << " dimensions:" << debugTreeVector(_dimensions);
qCDebug(entities) << " getLastEdited:" << debugTime(getLastEdited(), now);
}
// virtual
ShapeType PolyVoxEntityItem::getShapeType() const {
return SHAPE_TYPE_COMPOUND;
}

View file

@ -41,8 +41,6 @@ class PolyVoxEntityItem : public EntityItem {
ReadBitstreamToTreeParams& args,
EntityPropertyFlags& propertyFlags, bool overwriteLocalData);
virtual ShapeType getShapeType() const;
// never have a ray intersection pick a PolyVoxEntityItem.
virtual bool supportsDetailedRayIntersection() const { return true; }
virtual bool findDetailedRayIntersection(const glm::vec3& origin, const glm::vec3& direction,