double Atmosphere::Evaluate(lwpp::VolumetricAccess voa) { if ( march ) raymarchEval(voa); else analyticEval(voa); return 1.0; }
Evaluate( AtmosphereData *dat, const LWVolumeAccess *access ) { if ( dat->march ) raymarchEval( access, dat ); else analyticEval( access, dat ); return 1.0; }