Skip to content

Box.distance() bug ? #10

@vicb

Description

@vicb

It seems like ifs are missing brackets ?
(That's why most devs prefer to always use brackets)

Probably x1 and x2 should be initialized to this.x1. together with using else if it would simplify the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions