mirror of
https://github.com/MonsterDruide1/OdysseyDecomp
synced 2026-04-27 19:14:06 +00:00
19 lines
528 B
C++
19 lines
528 B
C++
#include "Library/Camera/SnapShotCameraCtrl.h"
|
|
|
|
#include "Library/Yaml/ByamlUtil.h"
|
|
|
|
namespace al {
|
|
|
|
void SnapShotCameraCtrl::load(const ByamlIter& iter) {
|
|
CameraParam* param = mParam;
|
|
ByamlIter paramIter;
|
|
if (!tryGetByamlIterByKey(¶mIter, iter, "SnapShotParam"))
|
|
return;
|
|
if (tryGetByamlF32(¶m->minFovyDegree, paramIter, "MinFovyDegree"))
|
|
param->hasMin = true;
|
|
if (tryGetByamlF32(¶m->maxFovyDegree, paramIter, "MaxFovyDegree"))
|
|
param->hasMax = true;
|
|
}
|
|
|
|
} // namespace al
|