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 | /** Converts this box to a scene entity
|
---|
26 | */
|
---|
27 | SceneEntity *ConvertBox(const AxisAlignedBox3 &box, Material *mat, Transform3 *trafo);
|
---|
28 | /** Converts the box to a scene entity
|
---|
29 | */
|
---|
30 | SceneEntity *ConvertSphere(float radius, float xspans, float yspans, Material *mat, Transform3 *trafo);
|
---|
31 | };
|
---|
32 |
|
---|
33 | }
|
---|
34 |
|
---|
35 | #endif // __SCENEENTITYCONVERTER_H |
---|
Note: See
TracBrowser
for help on using the repository browser.