Skip to content

Boolean straddle is always false in GigaGal.java #25

@mvpinoystat

Description

@mvpinoystat

//straddle here is always false in GigaGal.java.
straddle = (platform.left > leftFoot && platform.right < rightFoot);

//I think it should be:
straddle = (platform.left < leftFoot && platform.right > rightFoot);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions