Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jun 6, 2025. It is now read-only.
This repository was archived by the owner on Jun 6, 2025. It is now read-only.

bug in bounding_box.from_dimensions #49

@pla

Description

@pla

Description

bounding_box.from_dimensions returns the same values for left_top and right bottom

player.print(serpent.block(flib_bounding_box.from_dimensions({ x = 0, y = 0 },10,10)))

returns

{ left_top = { x = -5, y = -5 }, right_bottom = { x = -5, y = -5 } }

flib_area.from_dimensions gives the correct answer

Reproduction

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions