mirror of
https://github.com/zeldaret/botw
synced 2026-07-31 07:56:30 -04:00
ksys/phys: Mark BoxShapeParam::createShape as const
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
namespace ksys::phys {
|
||||
|
||||
BoxShape* BoxShapeParam::createShape(sead::Heap* heap) {
|
||||
BoxShape* BoxShapeParam::createShape(sead::Heap* heap) const {
|
||||
hkpBoxShape* box = nullptr;
|
||||
if (auto* storage = util::allocStorage<hkpBoxShape>(heap)) {
|
||||
const auto radius = convex_radius;
|
||||
|
||||
@@ -61,7 +61,7 @@ public:
|
||||
};
|
||||
|
||||
struct BoxShapeParam {
|
||||
BoxShape* createShape(sead::Heap* heap);
|
||||
BoxShape* createShape(sead::Heap* heap) const;
|
||||
|
||||
sead::Vector3f extents;
|
||||
sead::Vector3f translate;
|
||||
|
||||
Reference in New Issue
Block a user