feat(lighting): offset del centre de la llum per emissor

This commit is contained in:
JailDesigner committed 2026-05-13 18:26:19 +02:00
1 parent dacc4a9909
commit 3a42c7958a
9 files changed
+114 -25

No files matched your search

+4
View File
@@ -255,6 +255,10 @@ namespace {
Player::light_color_g = (*room->color)[1];
Player::light_color_b = (*room->color)[2];
}
if (room->offset.has_value()) {
Player::light_offset_x = (*room->offset)[0];
Player::light_offset_y = (*room->offset)[1];
}
}
} // namespace