mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-07-03 14:34:34 +00:00
Remove RenderObject::collisionRects.
Another vector that was always empty, optionally filled when specified by a skeletal file, but none actually did this. Should be safe to remove. Also small related optimization in Game::collideSkeletalVsCircle().
This commit is contained in:
parent
35a3888c94
commit
e7791c5ddc
4 changed files with 4 additions and 82 deletions
|
@ -68,8 +68,6 @@ struct MotionBlurFrame
|
|||
float rotz;
|
||||
};
|
||||
|
||||
typedef std::vector<RectShape> CollideRects;
|
||||
|
||||
class RenderObjectLayer;
|
||||
|
||||
class RenderObject : public ScriptObject
|
||||
|
@ -285,7 +283,6 @@ public:
|
|||
std::vector<Vector> collisionMask;
|
||||
std::vector<Vector> transformedCollisionMask;
|
||||
|
||||
CollideRects collisionRects;
|
||||
float collisionMaskRadius;
|
||||
|
||||
float alphaMod;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue