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
|
@ -7,7 +7,7 @@
|
|||
#include "z_mir_ray.h"
|
||||
#include "assets/objects/object_mir_ray/object_mir_ray.h"
|
||||
|
||||
#define FLAGS (ACTOR_FLAG_4 | ACTOR_FLAG_5)
|
||||
#define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_DRAW_CULLING_DISABLED)
|
||||
|
||||
void MirRay_Init(Actor* thisx, PlayState* play);
|
||||
void MirRay_Destroy(Actor* thisx, PlayState* play);
|
||||
|
@ -106,9 +106,9 @@ static MirRayDataEntry sMirRayData[] = {
|
|||
|
||||
static InitChainEntry sInitChain[] = {
|
||||
ICHAIN_VEC3F_DIV1000(scale, 0, ICHAIN_CONTINUE),
|
||||
ICHAIN_F32(uncullZoneForward, 4000, ICHAIN_CONTINUE),
|
||||
ICHAIN_F32(uncullZoneScale, 1000, ICHAIN_CONTINUE),
|
||||
ICHAIN_F32(uncullZoneDownward, 1000, ICHAIN_STOP),
|
||||
ICHAIN_F32(cullingVolumeDistance, 4000, ICHAIN_CONTINUE),
|
||||
ICHAIN_F32(cullingVolumeScale, 1000, ICHAIN_CONTINUE),
|
||||
ICHAIN_F32(cullingVolumeDownward, 1000, ICHAIN_STOP),
|
||||
};
|
||||
|
||||
void MirRay_SetupCollider(MirRay* this) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue