Add functionality for calculating the current view of a player entity.