Fixed the BOB broken sphere maps as a quick patch
This commit is contained in:
parent
ec4e2be0ad
commit
ac9f8cc7c9
|
|
@ -1015,8 +1015,8 @@ static void gfx_sp_vertex(size_t n_vertices, size_t dest_index, const Vtx *verti
|
|||
for (int i = 0; i < rsp.current_num_lights - 1; i++) {
|
||||
calculate_normal_dir(&rsp.current_lights[i], rsp.current_lights_coeffs[i]);
|
||||
}
|
||||
static const Light_t lookat_x = {{0, 0, 0}, 0, {0, 0, 0}, 0, {127, 0, 0}, 0};
|
||||
static const Light_t lookat_y = {{0, 0, 0}, 0, {0, 0, 0}, 0, {0, 127, 0}, 0};
|
||||
static const Light_t lookat_x = {{0, 0, 0}, 0, {0, 0, 0}, 0, {0, 127, 0}, 0};
|
||||
static const Light_t lookat_y = {{0, 0, 0}, 0, {0, 0, 0}, 0, {127, 0, 0}, 0};
|
||||
calculate_normal_dir(&lookat_x, rsp.current_lookat_coeffs[0]);
|
||||
calculate_normal_dir(&lookat_y, rsp.current_lookat_coeffs[1]);
|
||||
rsp.lights_changed = false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue