mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 14:31:17 +00:00
Document Culling (#2318)
* document culling * format * depth -> distance * format * var name * new graph link * rephrase actor flags * tharo's comments + some more tweaks * is this causing the problem? * change wording * cant scope the temp * format * dragorn review * bad merge * player -> camera in descriptions * more its * cadmic review * goddamn it why do i have that habit * projected
This commit is contained in:
parent
a897017af5
commit
016aef482b
371 changed files with 1015 additions and 850 deletions
|
@ -8,7 +8,7 @@
|
|||
#include "assets/objects/gameplay_dangeon_keep/gameplay_dangeon_keep.h"
|
||||
#include "terminal.h"
|
||||
|
||||
#define FLAGS ACTOR_FLAG_4
|
||||
#define FLAGS ACTOR_FLAG_UPDATE_CULLING_DISABLED
|
||||
|
||||
#define OBJSWITCH_TYPE(thisx) PARAMS_GET_U((thisx)->params, 0, 3)
|
||||
#define OBJSWITCH_SUBTYPE(thisx) PARAMS_GET_U((thisx)->params, 4, 3)
|
||||
|
@ -176,9 +176,9 @@ static ColliderJntSphInit sCrystalJntSphInit = {
|
|||
|
||||
static InitChainEntry sInitChain[] = {
|
||||
ICHAIN_VEC3F_DIV1000(scale, 100, ICHAIN_CONTINUE),
|
||||
ICHAIN_F32(uncullZoneForward, 2000, ICHAIN_CONTINUE),
|
||||
ICHAIN_F32(uncullZoneScale, 400, ICHAIN_CONTINUE),
|
||||
ICHAIN_F32(uncullZoneDownward, 2000, ICHAIN_STOP),
|
||||
ICHAIN_F32(cullingVolumeDistance, 2000, ICHAIN_CONTINUE),
|
||||
ICHAIN_F32(cullingVolumeScale, 400, ICHAIN_CONTINUE),
|
||||
ICHAIN_F32(cullingVolumeDownward, 2000, ICHAIN_STOP),
|
||||
};
|
||||
|
||||
void ObjSwitch_RotateY(Vec3f* dest, Vec3f* src, s16 rotY) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue