Dawn/src/dawn/scene/components/example/ExampleSpin.hpp

18 lines
471 B
C++

// Copyright (c) 2022 Dominic Masters
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
#pragma once
#include "scene/SceneItemComponent.hpp"
#include "display/shader/Shader.hpp"
namespace Dawn {
class ExampleSpin : public SceneItemComponent {
public:
static std::shared_ptr<SceneItem> create(Scene *scene);
ExampleSpin(std::weak_ptr<SceneItem> item);
void onStart() override;
};
}