Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rotation problem



At 04:45 PM 12/16/2004 -0500, you wrote:
>I've been banging my head against this for a while now and wondered if
>anyone has a solution to this problem.
>
>I have two normals, a and b and I want to find the appropriate rotation
>matrix to align them.
>
>Whats the best way of doing this?

Grab the code marked "Rotation from One Vector to Another" by
Tomas Akenine-Moller at:

http://www.cs.lth.se/home/Tomas_Akenine_Moller

It does exactly what you need!

>->Ben

A.

--
Alligator Descartes
http://www.moonphase.org

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden

References: 
 >rotation problem (From: Ben Lachman <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.