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

Transformation matrix that rotates by a normal vector? #9

Open
oveddan opened this issue Mar 16, 2017 · 1 comment
Open

Transformation matrix that rotates by a normal vector? #9

oveddan opened this issue Mar 16, 2017 · 1 comment

Comments

@oveddan
Copy link

oveddan commented Mar 16, 2017

If we have a normal vector, and want to build a transformation matrix that rotates something by the direction of a normal vector, how do we setup that transformation matrix?

@jpanetta
Copy link
Collaborator

I don't understand the rotation you are describing--do you want a rotation around the axis indicated by the normal vector? Do you want a rotation aligning some other vector with the normal?

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

No branches or pull requests

2 participants