mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
Default to no bounds instead of crazy bounds. See #1287.
This commit is contained in:
parent
a879ad4dcf
commit
42bd368045
|
|
@ -88,7 +88,7 @@ public:
|
|||
const Vector<S32>& getLOSDetails() const { return mLOSDetails; }
|
||||
|
||||
// ForestItemData
|
||||
const Box3F& getObjBox() const { return mShape ? mShape->bounds : Box3F::Invalid; }
|
||||
const Box3F& getObjBox() const { return mShape ? mShape->bounds : Box3F::Zero; }
|
||||
bool render( TSRenderState *rdata, const ForestItem& item ) const;
|
||||
ForestCellBatch* allocateBatch() const;
|
||||
bool canBillboard( const SceneRenderState *state, const ForestItem &item, F32 distToCamera ) const;
|
||||
|
|
|
|||
Loading…
Reference in a new issue