aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/irrlicht-1.8.1/source/Irrlicht/CTriangleBBSelector.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2016-03-28 22:28:34 +1000
committerDavid Walter Seikel2016-03-28 22:28:34 +1000
commit7028cbe09c688437910a25623098762bf0fa592d (patch)
tree10b5af58277d9880380c2251f109325542c4e6eb /src/others/irrlicht-1.8.1/source/Irrlicht/CTriangleBBSelector.h
parentMove lemon to the src/others directory. (diff)
downloadSledjHamr-7028cbe09c688437910a25623098762bf0fa592d.zip
SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.gz
SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.bz2
SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.xz
Move Irrlicht to src/others.
Diffstat (limited to 'src/others/irrlicht-1.8.1/source/Irrlicht/CTriangleBBSelector.h')
-rw-r--r--src/others/irrlicht-1.8.1/source/Irrlicht/CTriangleBBSelector.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/others/irrlicht-1.8.1/source/Irrlicht/CTriangleBBSelector.h b/src/others/irrlicht-1.8.1/source/Irrlicht/CTriangleBBSelector.h
new file mode 100644
index 0000000..c34f57d
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/source/Irrlicht/CTriangleBBSelector.h
@@ -0,0 +1,43 @@
1// Copyright (C) 2002-2012 Nikolaus Gebhardt
2// This file is part of the "Irrlicht Engine".
3// For conditions of distribution and use, see copyright notice in irrlicht.h
4
5#ifndef __C_TRIANGLE_BB_SELECTOR_H_INCLUDED__
6#define __C_TRIANGLE_BB_SELECTOR_H_INCLUDED__
7
8#include "CTriangleSelector.h"
9
10namespace irr
11{
12namespace scene
13{
14
15//! Stupid triangle selector without optimization
16class CTriangleBBSelector : public CTriangleSelector
17{
18public:
19
20 //! Constructs a selector based on a mesh
21 CTriangleBBSelector(ISceneNode* node);
22
23 //! Gets all triangles.
24 virtual void getTriangles(core::triangle3df* triangles, s32 arraySize, s32& outTriangleCount,
25 const core::matrix4* transform=0) const;
26
27 //! Gets all triangles which lie within a specific bounding box.
28 void getTriangles(core::triangle3df* triangles, s32 arraySize, s32& outTriangleCount,
29 const core::aabbox3d<f32>& box, const core::matrix4* transform=0) const;
30
31 //! Gets all triangles which have or may have contact with a 3d line.
32 virtual void getTriangles(core::triangle3df* triangles, s32 arraySize,
33 s32& outTriangleCount, const core::line3d<f32>& line,
34 const core::matrix4* transform=0) const;
35
36};
37
38} // end namespace scene
39} // end namespace irr
40
41
42#endif
43