If for any reason the device dimensions may have changed (e.g. a change in orientation rotates the viewspace to a new size) call this function to update the internal values.
UpdateDeviceSize( w, h )
void agk::UpdateDeviceSize( UINT w, UINT h )