Skip to content

Commit

Permalink
reverted infinte light pos multiplier to old value
Browse files Browse the repository at this point in the history
  • Loading branch information
shagkur committed Sep 4, 2008
1 parent 1485f67 commit c4075da
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions libogc/gx.c
Original file line number Diff line number Diff line change
Expand Up @@ -4274,9 +4274,9 @@ void GX_InitSpecularDirHA(GXLightObj *lit_obj,f32 nx,f32 ny,f32 nz,f32 hx,f32 hy
{
f32 px, py, pz;

px = (nx * LARGE_NUMBER);
py = (ny * LARGE_NUMBER);
pz = (nz * LARGE_NUMBER);
px = (nx * BIG_NUMBER);
py = (ny * BIG_NUMBER);
pz = (nz * BIG_NUMBER);

((f32*)lit_obj)[10] = px;
((f32*)lit_obj)[11] = py;
Expand All @@ -4302,9 +4302,9 @@ void GX_InitSpecularDir(GXLightObj *lit_obj,f32 nx,f32 ny,f32 nz)
hy *= mag;
hz *= mag;

px = (nx * LARGE_NUMBER);
py = (ny * LARGE_NUMBER);
pz = (nz * LARGE_NUMBER);
px = (nx * BIG_NUMBER);
py = (ny * BIG_NUMBER);
pz = (nz * BIG_NUMBER);

((f32*)lit_obj)[10] = px;
((f32*)lit_obj)[11] = py;
Expand Down

0 comments on commit c4075da

Please sign in to comment.