Tagged Questions
4
votes
4answers
1k views
How to find two perpendicular lines given a single plane
Hey guys, i was wondering how i would go about finding the perpendicular lines relative to a surface normal.
For instance say i have (0,0,1) the expected output would be (1,0,0) and (0,1,0). What ...
7
votes
2answers
563 views
How do I generate surface normals?
I have quite a few debug drawing methods in my engine that can generate geometry useful for debugging, like spheres and cubes.
At the moment I do not generate any normals for these shapes. Is there ...