• Amitav Baruah's avatar
    Fix look_at corner case · eb517dd7
    Amitav Baruah authored
    Summary: When the camera is vertically oriented, calculating the look_at x-axis (also known as the "right" vector) does not succeed, resulting in the x-axis being placed at the origin. Adds a check to correctly calculate the x-axis if this case occurs.
    
    Reviewed By: nikhilaravi, sbranson
    
    Differential Revision: D23511859
    
    fbshipit-source-id: ee5145cdbecdbe2f7c7d288588bd0899480cb327
    eb517dd7
test_cameras.py 38.3 KB