Skip to content

Conversation

@marcusround
Copy link
Contributor

I encountered unexpected behaviour when passing dynamic values to the scale parameter of vec2.random.

calling random(vec, 0) should return a vector of length 0, not 1.

@stefnotch stefnotch merged commit 0b4bfe9 into toji:master Sep 10, 2021
@stefnotch
Copy link
Collaborator

Thank you! I definitely prefer this over the previous behavior

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