Skip to content

Commit 126e414

Browse files
authored
Fix GXGetLightPos writing Y component to Z (#204)
1 parent f8e9b14 commit 126e414

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/dolphin/gx/GXGet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ void GXGetLightAttnK(GXLightObj* light_, float* k0, float* k1, float* k2) {
283283
void GXGetLightPos(GXLightObj* light_, float* x, float* y, float* z) {
284284
auto* light = reinterpret_cast<const GXLightObj_*>(light_);
285285
*x = light->px;
286-
*z = light->py;
286+
*y = light->py;
287287
*z = light->pz;
288288
}
289289

0 commit comments

Comments
 (0)