mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 16:14:01 +02:00
keep track of number of non-zero voxels, use this information when deciding on shape-type
This commit is contained in:
parent
ad71d7b7a2
commit
f955cb45b2
2 changed files with 0 additions and 8 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue