Changeset 69 in flair-src for trunk/lib/FlairSimulator/src/Model.cpp


Ignore:
Timestamp:
09/02/16 17:48:40 (6 years ago)
Author:
Sanahuja Guillaume
Message:

refonte camera simu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSimulator/src/Model.cpp

    r15 r69  
    1919#include "Simulator.h"
    2020#include "Simulator_impl.h"
     21#include "FollowMeCamera.h"
    2122#include <DoubleSpinBox.h>
    2223
     
    6364aabbox3d<f32> *Model::Box() const { return &(pimpl_->box); }
    6465
    65 AnimPoursuite *Model::getCamera(void) const { return pimpl_->animator; }
     66FollowMeCamera *Model::getFollowMeCamera(void) const { return pimpl_->camera; }
    6667
    6768void Model::setTriangleSelector(ITriangleSelector *selector) {
     
    7172}
    7273
    73 void Model::setCameraFarValue(float zf) { pimpl_->camera->setFarValue(zf); }
     74void Model::setCameraFarValue(float zf) { pimpl_->camera->getCameraSceneNode()->setFarValue(zf); }
    7475#endif
    7576
Note: See TracChangeset for help on using the changeset viewer.