mirror of
https://github.com/MonsterDruide1/OdysseyDecomp
synced 2026-04-23 09:04:21 +00:00
Fix AreaShapeCube
This commit is contained in:
parent
dd0f03798d
commit
7809326014
|
|
@ -14,7 +14,7 @@ bool AreaShapeCube::isInVolume(const sead::Vector3f& pos) const {
|
|||
bool AreaShapeCube::isInLocalVolume(const sead::Vector3f& pos) const {
|
||||
f32 bottom = mOriginType == OriginType::Base ?
|
||||
0.0f :
|
||||
(mOriginType == OriginType::Top ? -1000.0f : 500.0f);
|
||||
(mOriginType == OriginType::Top ? -1000.0f : -500.0f);
|
||||
f32 top = mOriginType == OriginType::Base ? 1000.0f :
|
||||
(mOriginType == OriginType::Top ? 0.0f : 500.0f);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue