mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-06-05 21:16:40 +00:00
Removed the old SHAPE_ASSET macros Implements AssetRef struct that acts as a universal wrapper for an templated AssetPtr and AssetId pair Adds Type handling for AssetRef for ShapeAsset to unify handling in classes that utilize a shapeAsset, so assigning an assetPtr or an assetId will keep a record of the assignment in the event the assetPtr is invalid. Update all classes that utilized the old SHAPE_ASSET macros to utilize the AssetRef struct and updated the class code to utilize it to provide much more clean and concise code that isn't blocked behind macro definitions Added a new example class: shapeDatablockExample which allows render of a simple shape object utilizing a simple example datablock. |
||
|---|---|---|
| .. | ||
| bullet | ||
| physx3 | ||
| physicsBody.cpp | ||
| physicsBody.h | ||
| physicsCollision.h | ||
| physicsCommon.h | ||
| physicsDebris.cpp | ||
| physicsDebris.h | ||
| physicsEvents.cpp | ||
| physicsEvents.h | ||
| physicsForce.cpp | ||
| physicsForce.h | ||
| physicsObject.cpp | ||
| physicsObject.h | ||
| physicsPlayer.cpp | ||
| physicsPlayer.h | ||
| physicsPlugin.cpp | ||
| physicsPlugin.h | ||
| physicsShape.cpp | ||
| physicsShape.h | ||
| physicsUserData.cpp | ||
| physicsUserData.h | ||
| physicsWorld.cpp | ||
| physicsWorld.h | ||