mirror of
https://github.com/MonsterDruide1/OdysseyDecomp
synced 2026-05-11 17:58:18 +00:00
19 lines
503 B
C++
19 lines
503 B
C++
#include "Library/Camera/SnapShotCameraCtrl.h"
|
|
|
|
#include "Library/Yaml/ByamlUtil.h"
|
|
|
|
namespace al {
|
|
|
|
// NON_MATCHING
|
|
void SnapShotCameraCtrl::load(const ByamlIter& iter) {
|
|
ByamlIter param;
|
|
if (!tryGetByamlIterByKey(¶m, iter, "SnapShotParam"))
|
|
return;
|
|
if (tryGetByamlF32(&mParam->mMinFovyDegree, param, "MinFovyDegree"))
|
|
mParam->mHasMin = true;
|
|
if (tryGetByamlF32(&mParam->mMinFovyDegree, param, "MinFovyDegree"))
|
|
mParam->mHasMax = true;
|
|
}
|
|
|
|
} // namespace al
|