source: flair-src/trunk/lib/FlairSimulator/src/SensorGL.cpp@ 365

Last change on this file since 365 was 15, checked in by Bayard Gildas, 8 years ago

sources reformatted with flair-format-dir script

File size: 1.0 KB
RevLine 
[10]1// %flair:license{
[15]2// This file is part of the Flair framework distributed under the
3// CECILL-C License, Version 1.0.
[10]4// %flair:license}
[8]5// created: 2013/03/25
6// filename: SensorGL.cpp
7//
8// author: Guillaume Sanahuja
9// Copyright Heudiasyc UMR UTC/CNRS 7253
10//
11// version: $Id: $
12//
13// purpose: classe definissant un modele de capteur
14//
15/*********************************************************************/
16#ifdef GL
17
18#include "SensorGL.h"
19#include "Gui.h"
20#include "Model.h"
21#include "Model_impl.h"
22#include <ISceneManager.h>
23
24using namespace irr::scene;
25using namespace flair::simulator;
26
[15]27namespace flair {
28namespace sensor {
[8]29
[15]30SensorGL::SensorGL(const Model *parent) {
31 collMan = getGui()->getSceneManager()->getSceneCollisionManager();
32 node = parent->Model::pimpl_;
[8]33}
34
[15]35SensorGL::~SensorGL() {}
[8]36
[15]37ISceneCollisionManager *SensorGL::CollMan(void) const { return collMan; }
[8]38
[15]39ISceneNode *SensorGL::Node(void) const { return node; }
[8]40
41} // end namespace simulator
42} // end namespace flair
43#endif
Note: See TracBrowser for help on using the repository browser.