Skip to content

Commit

Permalink
undo light pos change
Browse files Browse the repository at this point in the history
  • Loading branch information
sajattack committed Sep 9, 2020
1 parent 7323be8 commit 598a1a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/lit-crab/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ fn psp_main() {
let pos = ScePspFVector3 {
x: cosf32(i as f32 * (PI / 2.0) + val as f32 * (PI / 180.0)) * LIGHT_DISTANCE,
y: 0.0,
z: (sinf32(i as f32 * (PI / 2.0) + val as f32 * (PI / 180.0)) * LIGHT_DISTANCE) - 8.0,
z: (sinf32(i as f32 * (PI / 2.0) + val as f32 * (PI / 180.0)) * LIGHT_DISTANCE),
};
sys::sceGuLight(
i,
Expand Down

0 comments on commit 598a1a5

Please sign in to comment.