Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix negative float to integer truncation #79

Merged
merged 6 commits into from Nov 30, 2022

Conversation

ureishi
Copy link

@ureishi ureishi commented Nov 16, 2022

Change the method for casting floats to integers from Mathf.Floor to Math.Truncate.
Same result as C# when casting a negative floating point number to an integer.

@MerlinVR MerlinVR self-requested a review November 16, 2022 08:52
@MerlinVR MerlinVR merged commit 73a7b24 into vrchat-community:master Nov 30, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Nov 30, 2022
@ureishi ureishi deleted the fix-float-to-int-truncation branch December 11, 2022 10:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants