forked from Dynamitos/MeshShadingDemo
Adding skeleton
This commit is contained in:
1 parent
ad8f30f26e
commit
3895fbb3d3
19 files changed
+491
-35
No files matched your search
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
#include "Define.h"
|
||||
#include "Seele/MinimalEngine.h"
|
||||
#include <Seele/Scene/Scene.h>
|
||||
#include <Seele/System/ComponentSystem.h>
|
||||
#include <Seele/Component/Camera.h>
|
||||
#include <Seele/Component/KeyboardInput.h>
|
||||
|
||||
class FlyCamSystem : public System::ComponentSystem<
|
||||
Component::KeyboardInput,
|
||||
Component::Camera,
|
||||
Component::Transform>
|
||||
{
|
||||
public:
|
||||
FlyCamSystem(PScene scene);
|
||||
virtual ~FlyCamSystem();
|
||||
virtual void update(Seele::Component::KeyboardInput& input, Seele::Component::Camera& camera, Seele::Component::Transform& transform) override;
|
||||
private:
|
||||
float lastMouseX;
|
||||
float lastMouseY;
|
||||
};
|
||||
DEFINE_REF(FlyCamSystem)
|
||||
Reference in new issue
Block a user