Skip to content

Conversation

jessebarker
Copy link
Contributor

Purpose of this PR

This PR fixes https://fogbugz.unity3d.com/f/cases/1365187/

Transform direction from view to world was effectively doing a position transform rather than direction. This change fixes that.

Testing status

Without these changes, transforming (direction) from world->view->world and subtracting the result from the original vector yields non-0 value in Z:
image

With these changes:
Screen Shot 2021-09-10 at 2 32 02 PM


Comments to reviewers

Notes for the reviewers you have assigned.

@jessebarker jessebarker requested a review from a team as a code owner September 13, 2021 23:00
@jessebarker jessebarker merged commit b6c4e5d into 10.x.x/release Sep 14, 2021
@jessebarker jessebarker deleted the 10.x.x/sg-fix-1365187 branch September 14, 2021 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants