Skip to content
Snippets Groups Projects
  • Kahrl's avatar
    c0b35fa4
    Removed unused camera_position and camera_direction fields from Client. Moved... · c0b35fa4
    Kahrl authored
    Removed unused camera_position and camera_direction fields from Client. Moved ClientEnvironment::drawPostFx to ClientMap::renderPostFx -- this will make the camera management classes easier to write, as ClientMap already knows the camera position but ClientEnvironment doesn't and has to be told about it. This also eliminates the need for Client::getEnv(). Made the post effect color a content feature defined in content_mapnode.h.
    c0b35fa4
    History
    Removed unused camera_position and camera_direction fields from Client. Moved...
    Kahrl authored
    Removed unused camera_position and camera_direction fields from Client. Moved ClientEnvironment::drawPostFx to ClientMap::renderPostFx -- this will make the camera management classes easier to write, as ClientMap already knows the camera position but ClientEnvironment doesn't and has to be told about it. This also eliminates the need for Client::getEnv(). Made the post effect color a content feature defined in content_mapnode.h.