diff options
Diffstat (limited to 'libraries/irrlicht-1.8/source/Irrlicht/CTriangleBBSelector.h')
-rw-r--r-- | libraries/irrlicht-1.8/source/Irrlicht/CTriangleBBSelector.h | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/CTriangleBBSelector.h b/libraries/irrlicht-1.8/source/Irrlicht/CTriangleBBSelector.h index c34f57d..abdccdc 100644 --- a/libraries/irrlicht-1.8/source/Irrlicht/CTriangleBBSelector.h +++ b/libraries/irrlicht-1.8/source/Irrlicht/CTriangleBBSelector.h | |||
@@ -1,43 +1,43 @@ | |||
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 __C_TRIANGLE_BB_SELECTOR_H_INCLUDED__ | 5 | #ifndef __C_TRIANGLE_BB_SELECTOR_H_INCLUDED__ |
6 | #define __C_TRIANGLE_BB_SELECTOR_H_INCLUDED__ | 6 | #define __C_TRIANGLE_BB_SELECTOR_H_INCLUDED__ |
7 | 7 | ||
8 | #include "CTriangleSelector.h" | 8 | #include "CTriangleSelector.h" |
9 | 9 | ||
10 | namespace irr | 10 | namespace irr |
11 | { | 11 | { |
12 | namespace scene | 12 | namespace scene |
13 | { | 13 | { |
14 | 14 | ||
15 | //! Stupid triangle selector without optimization | 15 | //! Stupid triangle selector without optimization |
16 | class CTriangleBBSelector : public CTriangleSelector | 16 | class CTriangleBBSelector : public CTriangleSelector |
17 | { | 17 | { |
18 | public: | 18 | public: |
19 | 19 | ||
20 | //! Constructs a selector based on a mesh | 20 | //! Constructs a selector based on a mesh |
21 | CTriangleBBSelector(ISceneNode* node); | 21 | CTriangleBBSelector(ISceneNode* node); |
22 | 22 | ||
23 | //! Gets all triangles. | 23 | //! Gets all triangles. |
24 | virtual void getTriangles(core::triangle3df* triangles, s32 arraySize, s32& outTriangleCount, | 24 | virtual void getTriangles(core::triangle3df* triangles, s32 arraySize, s32& outTriangleCount, |
25 | const core::matrix4* transform=0) const; | 25 | const core::matrix4* transform=0) const; |
26 | 26 | ||
27 | //! Gets all triangles which lie within a specific bounding box. | 27 | //! Gets all triangles which lie within a specific bounding box. |
28 | void getTriangles(core::triangle3df* triangles, s32 arraySize, s32& outTriangleCount, | 28 | void getTriangles(core::triangle3df* triangles, s32 arraySize, s32& outTriangleCount, |
29 | const core::aabbox3d<f32>& box, const core::matrix4* transform=0) const; | 29 | const core::aabbox3d<f32>& box, const core::matrix4* transform=0) const; |
30 | 30 | ||
31 | //! Gets all triangles which have or may have contact with a 3d line. | 31 | //! Gets all triangles which have or may have contact with a 3d line. |
32 | virtual void getTriangles(core::triangle3df* triangles, s32 arraySize, | 32 | virtual void getTriangles(core::triangle3df* triangles, s32 arraySize, |
33 | s32& outTriangleCount, const core::line3d<f32>& line, | 33 | s32& outTriangleCount, const core::line3d<f32>& line, |
34 | const core::matrix4* transform=0) const; | 34 | const core::matrix4* transform=0) const; |
35 | 35 | ||
36 | }; | 36 | }; |
37 | 37 | ||
38 | } // end namespace scene | 38 | } // end namespace scene |
39 | } // end namespace irr | 39 | } // end namespace irr |
40 | 40 | ||
41 | 41 | ||
42 | #endif | 42 | #endif |
43 | 43 | ||