]> git.mxchange.org Git - simgear.git/blobdiff - simgear/sound/xmlsound.cxx
proper orientation(?) and comment out relative position and direction code since...
[simgear.git] / simgear / sound / xmlsound.cxx
index 04b8e06029a7b05fbe05c3768b12481bf5fd214b..29bf06b5b974dab1e56f993983d5cda7608e63eb 100644 (file)
@@ -229,9 +229,9 @@ SGXmlSound::init(SGPropertyNode *root, SGPropertyNode *node,
    SGVec3f offset_pos = SGVec3f::zeros();
    SGPropertyNode_ptr prop = node->getChild("position");
    if ( prop != NULL ) {
-       offset_pos[0] = prop->getDoubleValue("x", 0.0);
-       offset_pos[1] = -prop->getDoubleValue("y", 0.0);
-       offset_pos[2] = prop->getDoubleValue("z", 0.0);
+       offset_pos[0] = prop->getDoubleValue("y", 0.0);
+       offset_pos[1] = prop->getDoubleValue("z", 0.0);
+       offset_pos[2] = prop->getDoubleValue("x", 0.0);
    }
 
    //