Skip to content

Conversation

@nicoonoclaste
Copy link
Collaborator

@nicoonoclaste nicoonoclaste commented Oct 13, 2018

Based off #62

The test failed without 248491f, because tests.utils.units returned not-quite-normalized vectors, because Vector2.rotate() rounded things off. (You can check, adding .normalize() to the returned value in units “fixes” it.)

Cases where cos²ϑ + sin²ϑ ≉ 1 mean that repeated rotations
would diverge from the expected result, going either to 0
or infinity.
@nicoonoclaste
Copy link
Collaborator Author

nicoonoclaste commented Oct 17, 2018

This should be good to go once #67 is merged.

@AstraLuma AstraLuma merged commit 71faec7 into ppb:master Oct 18, 2018
@nicoonoclaste nicoonoclaste deleted the hypothesis/reflect branch October 19, 2018 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants