Skip to content

Arguments to atan2 are reversed #127

Description

@aletheos

hump/vector.lua

Line 118 in 08937cc

return new(atan2(self.x, self.y), self:len())

Typically the arguments to atan2 are y first, and that is how it's done in the corresponding function in vector-light, so I assume this is a mistake.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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