Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 17, 2007, 3:46:05 PM (17 years ago)
Author:
gfilip
Message:

the skybox problem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/camera/src/world_entities/cameraman.cc

    r10257 r10259  
    1919#include "state.h"
    2020#include "iostream.h"
    21 
     21#include "sound_engine.h"
    2222
    2323
     
    3636  this->cameras.push_back(new Camera());
    3737  cameras[cameras.size()-1]->target->detach();
     38
     39
     40
    3841  cout << cameras[1]->getAbsCoorX() << "," << cameras[1]->getAbsCoorY() << "," << cameras[1]->getAbsCoorZ() << endl << cameras[1]->target->getAbsCoorX() << endl;
    3942
     
    4649  currentCam=cameras[cameraNo];
    4750  State::setCamera(currentCam, currentCam->getTarget());
     51  OrxSound::SoundEngine::getInstance()->setListener(currentCam);
     52
    4853  }
    4954
Note: See TracChangeset for help on using the changeset viewer.