• Jeremy Reizenstein's avatar
    (eye, at, up) extraction function · cf9bb7c4
    Jeremy Reizenstein authored
    Summary:
    Plotly viewing from a specific camera location requires converting that location in to an (eye, at, up) specification. There may be other reasons to want to do this as well. I create a separate utility function for it.
    
    I envisage more such utility functions for manipulating camera information, so I create a separate camera_utils.py file for such things.
    
    Reviewed By: nikhilaravi
    
    Differential Revision: D25981184
    
    fbshipit-source-id: 0947bf98b212676c021f2fddf775bf436dee3487
    cf9bb7c4
test_camera_utils.py 1.97 KB