1#include "Library/Camera/CameraStopJudge.h"
2
3#include "Library/Area/AreaObjUtil.h"
4#include "Library/Area/IUseAreaObj.h"
5
6namespace al {
7
8CameraStopJudge::CameraStopJudge() = default;
9
10bool CameraStopJudge::isStop() const {
11 if (mIsInvalidStopJudgeByDemo)
12 return false;
13 return mIsInCameraStopArea || _9;
14}
15
16void CameraStopJudge::update(const sead::Vector3f& position) {
17 mIsInCameraStopArea = isInAreaObj(areaUser: this, name: "CameraStopArea", position);
18}
19} // Namespace al
20