-
Notifications
You must be signed in to change notification settings - Fork 8
/
OgreVox.h
38 lines (30 loc) · 1.02 KB
/
OgreVox.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
// Copyrighted under the MPLv2 and LGPLv3 by Jesse Johnson.
#ifndef __OgreVox_h_
#define __OgreVox_h_
#include "BareOgre.h"
// #include "VoxelSphere.h"
#include "LargeVoxelSphere.h"
// #include "VoxelTerrain.h"
#include "VoxelPlanet.h"
class OgreVox : public BareOgre
{
public:
OgreVox(void);
virtual ~OgreVox(void);
protected:
virtual void createScene(void);
bool frameRenderingQueued(const Ogre::FrameEvent& evt);
// void mouseMoved(const SDL_MouseMotionEvent& event);
// void mousePressed(const SDL_MouseButtonEvent& event);
// void mouseReleased(const SDL_MouseButtonEvent& event);
private:
// VoxelSphere* mVoxelSphere;
// LargeVoxelSphere* mLargeVoxelSphere;
// VoxelTerrain* mVoxelTerrain;
VoxelPlanet* mVoxelPlanet;
Ogre::SceneNode* mMarkerNode;
};
#endif // #ifndef __OgreVox_h_