2#include <libultra/gbi.h>
22 if (CVarGetInteger(
"gNoCulling", 0) == 1) {
23 temp_f0 =
MAX(temp_f0, 0.0f);
29 if (CVarGetInteger(
"gDisableLod", 1) == 1) {
39 switch (arg1->
state) {
52 if (temp_f0 < 160000.0f) {
54 }
else if (temp_f0 < 640000.0f) {
59 }
else if (temp_f0 < 160000.0f) {
void gSPDisplayList(Gfx *pkt, Gfx *dl)
Definition GBIMiddleware.cpp:12
void render_actor_box_truck(Camera *camera, struct Actor *arg1)
Renders the box truck actor. Actor used in Toad's Turnpike. His update are made in vehicle.
Definition render.inc.c:16
f32 Mat4[4][4]
Definition common_structs.h:20
#define SCREEN_MODE_1P
Options for gScreenModeSelection and gActiveScreenMode.
Definition defines.h:246
#define UNUSED
Definition macros.h:40
#define MAX(a, b)
Definition macros.h:144
Gfx * gDisplayListHead
Definition main.c:129
s32 gActiveScreenMode
Definition main.c:172
s32 render_set_position(Mat4 mtx, s32 arg1)
Definition math_util.c:53
f32 is_within_render_distance(Vec3f cameraPos, Vec3f objectPos, u16 orientationY, f32 minDistance, f32 fov, f32 maxDistance)
Definition math_util.c:1099
void mtxf_pos_rotation_xyz(Mat4 out, Vec3f pos, Vec3s orientation)
Definition math_util.c:449
Definition actor_types.h:124
s16 state
Definition actor_types.h:128
Vec3s rot
Definition actor_types.h:131
Vec3f pos
Definition actor_types.h:133
Vec3s rot
Definition camera.h:42
f32 fieldOfView
Definition camera.h:43
Vec3f pos
Definition camera.h:36