mirror of
https://github.com/johndoe6345789/SDL3CPlusPlus.git
synced 2026-05-01 00:55:07 +00:00
feat: Enhance mouse grab functionality and improve logging in SDL window service
This commit is contained in:
@@ -574,8 +574,8 @@ local function create_room_objects()
|
||||
{room.wall_thickness, room.wall_height, room.half_size}, green_wall),
|
||||
}
|
||||
|
||||
-- Add lanterns in the four corners
|
||||
local lantern_offset = 4.0
|
||||
-- Add lanterns in the four corners (adjusted for bigger room)
|
||||
local lantern_offset = room.half_size - 2.0 -- 2 units from wall
|
||||
objects[#objects + 1] = create_lantern(lantern_offset, lantern_offset)
|
||||
objects[#objects + 1] = create_lantern(-lantern_offset, lantern_offset)
|
||||
objects[#objects + 1] = create_lantern(lantern_offset, -lantern_offset)
|
||||
|
||||
Reference in New Issue
Block a user