About Store Forum Documentation Contact



Post Reply 
Orient Default Up Vector
Author Message
fatcoder Offline
Member

Post: #1
Orient Default Up Vector
Most of the time when using Orient I find that I'm using Vec(0,1,0) as the up vector. I think this would be pretty common for most people. It would be great if this could be the default value in the constructor.

Code:
Orient(C Vec     &dir, C Vec &perp=Vec(0,1,0)) {T.dir=dir; T.perp=perp;}
11-15-2011 12:34 AM
Find all posts by this user Quote this message in a reply
Post Reply