30 if (!(temp_f0 < 0.0f) && !(600000.0f < temp_f0)) {
31 if ((item_box->
state == 2) && (temp_f0 < 100000.0f)) {
33 someRot[1] = item_box->
rot[1];
35 someVec2[0] = item_box->
pos[0];
37 someVec2[2] = item_box->
pos[2];
43 someRot[1] = item_box->
rot[1] * 2;
44 someVec2[1] = item_box->
pos[1];
51 if (item_box->
state == 5) {
58 if (item_box->
state != 3) {
65 if ((item_box->
rot[1] < 0xAA1) && (item_box->
rot[1] > 0)) {
67 }
else if ((item_box->
rot[1] >= 0x6AA5) && (item_box->
rot[1] < 0x754E)) {
69 }
else if ((item_box->
rot[1] >= 0x38E1) && (item_box->
rot[1] < 0x438A)) {
71 }
else if ((item_box->
rot[1] >= 0xC711) && (item_box->
rot[1] < 0xD1BA)) {
86 someMultiplier = 1.0f;
88 someMultiplier = 1.0f - ((thing - 10.0f) * 0.1f);
96 temp_f2 = 2.0f * thing;
98 someVec1[1] = temp_f2;
105 temp_f2_2 = 0.8f * thing;
106 temp_f12 = 0.5f * thing;
107 someVec1[0] = temp_f2_2;
108 someVec1[1] = 2.3f * thing;
109 someVec1[2] = temp_f12;
115 temp_f0_2 = -0.5f * thing;
116 someVec1[0] = temp_f2_2;
117 someVec1[1] = 1.2f * thing;
118 someVec1[2] = temp_f0_2;
130 someVec1[1] = 1.8f * thing;
131 someVec1[2] = -1.0f * thing;
137 temp_f0_3 = -0.8f * thing;
138 someVec1[0] = temp_f0_3;
139 someVec1[1] = 0.6f * thing;
140 someVec1[2] = temp_f0_2;
146 someVec1[0] = temp_f0_3;
147 someVec1[1] = temp_f2;
148 someVec1[2] = temp_f12;
void render_actor_item_box(Camera *camera, struct ItemBox *item_box)
Renders the item box actor.
Definition render.inc.c:11
f32 is_within_render_distance(Vec3f cameraPos, Vec3f objectPos, u16 orientationY, f32 minDistance, f32 fov, f32 maxDistance)
Definition math_util.c:1089