Revision 2953,
770 bytes
checked in by mattausch, 16 years ago
(diff) |
started different stuff
|
Line | |
---|
1 | #ifndef __SCENEENTITYCONVERTER_H
|
---|
2 | #define __SCENEENTITYCONVERTER_H
|
---|
3 |
|
---|
4 | #include "common.h"
|
---|
5 | #include "AxisAlignedBox3.h"
|
---|
6 |
|
---|
7 |
|
---|
8 | namespace CHCDemoEngine
|
---|
9 | {
|
---|
10 |
|
---|
11 | class Material;
|
---|
12 | class Transform3;
|
---|
13 | class Camera;
|
---|
14 | class SceneEntity;
|
---|
15 |
|
---|
16 | /** Class that converts geometric objects to scene entities
|
---|
17 | */
|
---|
18 | class SceneEntityConverter
|
---|
19 | {
|
---|
20 | public:
|
---|
21 |
|
---|
22 | /** Creates a scene entity.
|
---|
23 | */
|
---|
24 | SceneEntityConverter() {};
|
---|
25 |
|
---|
26 | //~SceneEntityConverter();
|
---|
27 |
|
---|
28 | /** Converts this box to a scene entity
|
---|
29 | */
|
---|
30 | SceneEntity *ConvertBox(const AxisAlignedBox3 &box, Material *mat, Transform3 *trafo);
|
---|
31 | /** Converts the box to a scene entity
|
---|
32 | */
|
---|
33 | SceneEntity *ConvertSphere(float radius, float xspans, float yspans, Material *mat, Transform3 *trafo);
|
---|
34 | };
|
---|
35 |
|
---|
36 | }
|
---|
37 |
|
---|
38 | #endif // __SCENEENTITYCONVERTER_H |
---|
Note: See
TracBrowser
for help on using the repository browser.