orientation[0] = -dir.x;
orientation[0] = dir.x;
    private static void updateListener(){             if(camera !=null){            listener.setPosition(camera.getLocation());                    }        float[] orientation = listener.getOrientation();        Vector3f dir=null;        Vector3f up=null;        if(camera !=null){         dir = camera.getDirection();         up = camera.getUp();        }else if(dir==null){            dir=new Vector3f(0, 0, -1);            up=new Vector3f(0, 1, 0);        }        orientation[0] = -dir.x;        orientation[1] = dir.y;        orientation[2] = dir.z;        orientation[3] = up.x;        orientation[4] = -up.y;        orientation[5] = up.z;        listener.update();            }