mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-06 22:30:15 +00:00
Document Camera Settings (#994)
* Document Settings * Clean Up z64Camera.h * Add comment
This commit is contained in:
parent
dcb8357f72
commit
7e09accf0e
25 changed files with 795 additions and 793 deletions
|
@ -429,12 +429,12 @@ s32 EnGo_IsCameraModified(EnGo* this, GlobalContext* globalCtx) {
|
|||
|
||||
xyzDist = (this->actor.scale.x / 0.01f) * 10000.0f;
|
||||
if ((this->actor.params & 0xF0) == 0x90) {
|
||||
Camera_ChangeSetting(camera, CAM_SET_TEPPEN);
|
||||
Camera_ChangeSetting(camera, CAM_SET_DIRECTED_YAW);
|
||||
xyzDist *= 4.8f;
|
||||
}
|
||||
|
||||
if (fabsf(this->actor.xyzDistToPlayerSq) > xyzDist) {
|
||||
if (camera->setting == CAM_SET_TEPPEN) {
|
||||
if (camera->setting == CAM_SET_DIRECTED_YAW) {
|
||||
Camera_ChangeSetting(camera, CAM_SET_NORMAL0);
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue