Example Triangle Pog

This commit is contained in:
2022-10-18 22:02:03 -07:00
parent 9e19a621a5
commit 2a387421d8
21 changed files with 525 additions and 10 deletions

View File

@@ -0,0 +1,19 @@
// 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/mesh/Mesh.hpp"
namespace Dawn {
class MeshRenderer : public SceneItemComponent {
public:
std::shared_ptr<Mesh> mesh = nullptr;
MeshRenderer(std::weak_ptr<SceneItem> item);
void start() override;
};
}