Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,42 @@
|
||||
#pragma once
|
||||
|
||||
#include "export.h"
|
||||
|
||||
class QWidget;
|
||||
namespace dtEntity
|
||||
{
|
||||
class EntityManager;
|
||||
}
|
||||
|
||||
namespace VCtrl
|
||||
{
|
||||
|
||||
class ViewerInterface;
|
||||
struct Vec3d;
|
||||
|
||||
class VIEWER_CTRL_EXPORT MainLoop
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
MainLoop(int argc, char **argv, QWidget *parentWidget);
|
||||
~MainLoop();
|
||||
|
||||
dtEntity::EntityManager *getEntityManager() const;
|
||||
ViewerInterface *getViewerInterface() const;
|
||||
|
||||
bool getProfilingEnabled() const;
|
||||
void setProfilingEnabled(bool v);
|
||||
|
||||
void shutDown();
|
||||
bool isRunning() const;
|
||||
|
||||
void tick();
|
||||
void GetCurrentPosition(Vec3d &position, Vec3d &lookAt);
|
||||
private:
|
||||
|
||||
class Impl;
|
||||
Impl *mImpl;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user