From: ehofman Date: Thu, 22 Oct 2009 12:11:06 +0000 (+0000) Subject: .. and remove some debugging code X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5f9befebaed1c185a196acd709b2677247461a0f;p=simgear.git .. and remove some debugging code --- diff --git a/simgear/sound/sample_openal.cxx b/simgear/sound/sample_openal.cxx index 2ec3c96d..91b08527 100644 --- a/simgear/sound/sample_openal.cxx +++ b/simgear/sound/sample_openal.cxx @@ -183,12 +183,9 @@ void SGSoundSample::set_position( const SGGeod& pos ) { void SGSoundSample::update_absolute_position() { SGQuatd orient = SGQuatd::fromLonLat(_base_pos) * _orientation; _orivec = -toVec3f(orient.rotate(-SGVec3d::e1())); -printf("ori: %f %f %f\n", _orivec[0], _orivec[1], _orivec[2]); -printf("vel: %f %f %f\n", _velocity[0], _velocity[1], _velocity[2]); orient = SGQuatd::fromRealImag(0, _relative_pos) * _orientation; _absolute_pos = -SGVec3d::fromGeod(_base_pos); // -orient.rotate(SGVec3d::e1()); -//printf("pos: %f %f %f\n", _absolute_pos[0], _absolute_pos[1], _absolute_pos[2]); } string SGSoundSample::random_string() {