mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
Expanded mesh baking functionality, now supporting baking of LODs and Collision meshes
This commit is contained in:
parent
78caec2718
commit
49639a908f
7 changed files with 1578 additions and 8 deletions
|
|
@ -138,6 +138,7 @@ protected:
|
|||
bool castRay(const Point3F &start, const Point3F &end, RayInfo* info);
|
||||
bool castRayRendered(const Point3F &start, const Point3F &end, RayInfo* info);
|
||||
bool buildPolyList(PolyListContext context, AbstractPolyList* polyList, const Box3F &box, const SphereF& sphere);
|
||||
bool buildExportPolyList(PolyListContext context, ColladaUtils::ExportData* exportData, const Box3F &box, const SphereF &);
|
||||
void buildConvex(const Box3F& box, Convex* convex);
|
||||
|
||||
bool _createShape();
|
||||
|
|
@ -237,6 +238,8 @@ public:
|
|||
|
||||
TSShapeInstance* getShapeInstance() const { return mShapeInstance; }
|
||||
|
||||
U32 getNumDetails();
|
||||
|
||||
const Vector<S32>& getCollisionDetails() const { return mCollisionDetails; }
|
||||
|
||||
const Vector<S32>& getLOSDetails() const { return mLOSDetails; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue