view_angle functionality

 Implements view_angle functionality, tested and confirmed not to have broken anything.