mirror of
https://github.com/MonsterDruide1/OdysseyDecomp
synced 2026-05-12 02:08:52 +00:00
Some checks failed
lint / clang-format (push) Has been cancelled
lint / custom-lint (push) Has been cancelled
decomp-dev / publish_progress_decomp_dev (1.0) (push) Has been cancelled
Compile and verify functions / compile_verify (push) Has been cancelled
Copy headers to separate repo / copy_headers (push) Has been cancelled
Check and verify that setup works on NixOS / nixos_verify (push) Has been cancelled
progress / publish_progress (push) Has been cancelled
testcompile / test_compile (push) Has been cancelled
Trigger full-sync on the tracker repo on push / api-trigger-workflow (push) Has been cancelled
28 lines
622 B
C++
28 lines
622 B
C++
#pragma once
|
|
|
|
#include "Library/Camera/CameraPoser.h"
|
|
|
|
namespace al {
|
|
|
|
class CameraPoserFixPoint : public CameraPoser {
|
|
public:
|
|
CameraPoserFixPoint(const char* name);
|
|
|
|
void init() override;
|
|
void loadParam(const ByamlIter& iter) override;
|
|
void start(const CameraStartInfo& info) override;
|
|
void update() override;
|
|
void makeLookAtCamera(sead::LookAtCamera* cam) const override;
|
|
|
|
private:
|
|
f32 mOffsetY;
|
|
sead::Vector3f mCameraPos;
|
|
bool mIsUsePrePoserPos;
|
|
bool mIsKeepDistanceFromLookAt;
|
|
f32 mKeepDistance;
|
|
};
|
|
|
|
static_assert(sizeof(CameraPoserFixPoint) == 0x158);
|
|
|
|
} // namespace al
|