mirror of
https://github.com/MonsterDruide1/OdysseyDecomp
synced 2026-04-27 19:14:06 +00:00
20 lines
479 B
C++
20 lines
479 B
C++
#include "Library/Camera/CameraStopJudge.h"
|
|
|
|
#include "Library/Area/AreaObjUtil.h"
|
|
#include "Library/Area/IUseAreaObj.h"
|
|
|
|
namespace al {
|
|
|
|
CameraStopJudge::CameraStopJudge() = default;
|
|
|
|
bool CameraStopJudge::isStop() const {
|
|
if (mIsInvalidStopJudgeByDemo)
|
|
return false;
|
|
return mIsInCameraStopArea || _9;
|
|
}
|
|
|
|
void CameraStopJudge::update(const sead::Vector3f& position) {
|
|
mIsInCameraStopArea = isInAreaObj(this, "CameraStopArea", position);
|
|
}
|
|
} // Namespace al
|