diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/irrlicht-1.8/include/IGUIMeshViewer.h | 106 |
1 files changed, 53 insertions, 53 deletions
diff --git a/libraries/irrlicht-1.8/include/IGUIMeshViewer.h b/libraries/irrlicht-1.8/include/IGUIMeshViewer.h index 3255f4e..62ff1ab 100644 --- a/libraries/irrlicht-1.8/include/IGUIMeshViewer.h +++ b/libraries/irrlicht-1.8/include/IGUIMeshViewer.h | |||
@@ -1,53 +1,53 @@ | |||
1 | // Copyright (C) 2002-2012 Nikolaus Gebhardt | 1 | // Copyright (C) 2002-2012 Nikolaus Gebhardt |
2 | // This file is part of the "Irrlicht Engine". | 2 | // This file is part of the "Irrlicht Engine". |
3 | // For conditions of distribution and use, see copyright notice in irrlicht.h | 3 | // For conditions of distribution and use, see copyright notice in irrlicht.h |
4 | 4 | ||
5 | #ifndef __I_GUI_MESH_VIEWER_H_INCLUDED__ | 5 | #ifndef __I_GUI_MESH_VIEWER_H_INCLUDED__ |
6 | #define __I_GUI_MESH_VIEWER_H_INCLUDED__ | 6 | #define __I_GUI_MESH_VIEWER_H_INCLUDED__ |
7 | 7 | ||
8 | #include "IGUIElement.h" | 8 | #include "IGUIElement.h" |
9 | 9 | ||
10 | namespace irr | 10 | namespace irr |
11 | { | 11 | { |
12 | 12 | ||
13 | namespace video | 13 | namespace video |
14 | { | 14 | { |
15 | class SMaterial; | 15 | class SMaterial; |
16 | } // end namespace video | 16 | } // end namespace video |
17 | 17 | ||
18 | namespace scene | 18 | namespace scene |
19 | { | 19 | { |
20 | class IAnimatedMesh; | 20 | class IAnimatedMesh; |
21 | } // end namespace scene | 21 | } // end namespace scene |
22 | 22 | ||
23 | namespace gui | 23 | namespace gui |
24 | { | 24 | { |
25 | 25 | ||
26 | //! 3d mesh viewing GUI element. | 26 | //! 3d mesh viewing GUI element. |
27 | class IGUIMeshViewer : public IGUIElement | 27 | class IGUIMeshViewer : public IGUIElement |
28 | { | 28 | { |
29 | public: | 29 | public: |
30 | 30 | ||
31 | //! constructor | 31 | //! constructor |
32 | IGUIMeshViewer(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle) | 32 | IGUIMeshViewer(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle) |
33 | : IGUIElement(EGUIET_MESH_VIEWER, environment, parent, id, rectangle) {} | 33 | : IGUIElement(EGUIET_MESH_VIEWER, environment, parent, id, rectangle) {} |
34 | 34 | ||
35 | //! Sets the mesh to be shown | 35 | //! Sets the mesh to be shown |
36 | virtual void setMesh(scene::IAnimatedMesh* mesh) = 0; | 36 | virtual void setMesh(scene::IAnimatedMesh* mesh) = 0; |
37 | 37 | ||
38 | //! Gets the displayed mesh | 38 | //! Gets the displayed mesh |
39 | virtual scene::IAnimatedMesh* getMesh() const = 0; | 39 | virtual scene::IAnimatedMesh* getMesh() const = 0; |
40 | 40 | ||
41 | //! Sets the material | 41 | //! Sets the material |
42 | virtual void setMaterial(const video::SMaterial& material) = 0; | 42 | virtual void setMaterial(const video::SMaterial& material) = 0; |
43 | 43 | ||
44 | //! Gets the material | 44 | //! Gets the material |
45 | virtual const video::SMaterial& getMaterial() const = 0; | 45 | virtual const video::SMaterial& getMaterial() const = 0; |
46 | }; | 46 | }; |
47 | 47 | ||
48 | 48 | ||
49 | } // end namespace gui | 49 | } // end namespace gui |
50 | } // end namespace irr | 50 | } // end namespace irr |
51 | 51 | ||
52 | #endif | 52 | #endif |
53 | 53 | ||