From f8a715ec786b5ec402db2b6fb1a02e791191e05d Mon Sep 17 00:00:00 2001 From: Dominic Masters Date: Tue, 31 Oct 2023 21:08:31 -0500 Subject: [PATCH] Got Hello World Working prior to refactor. --- src/dawnhelloworld/scenes/HelloWorldScene.hpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/dawnhelloworld/scenes/HelloWorldScene.hpp b/src/dawnhelloworld/scenes/HelloWorldScene.hpp index 29505ffd..39f32189 100644 --- a/src/dawnhelloworld/scenes/HelloWorldScene.hpp +++ b/src/dawnhelloworld/scenes/HelloWorldScene.hpp @@ -6,9 +6,7 @@ #pragma once #include "scene/Scene.hpp" #include "prefabs/SimpleSpinningCubePrefab.hpp" -#include "prefabs/ui/debug/FPSLabel.hpp" #include "scene/components/ui/UIImage.hpp" -#include "display/font/BitmapFont.hpp" namespace Dawn { class HelloWorldScene : public Scene { @@ -16,7 +14,6 @@ namespace Dawn { Camera *camera; SimpleSpinningCubePrefab *cube; UICanvas *canvas; - UILabel *label; void stage() override { camera = Camera::create(this); @@ -25,12 +22,6 @@ namespace Dawn { cube = SimpleSpinningCubePrefab::create(this); canvas = UICanvas::create(this); - - auto labelItem = FPSLabel::create(this); - labelItem->transform.setParent(canvas->transform); - labelItem->label->alignX = UI_COMPONENT_ALIGN_END; - labelItem->label->alignment = glm::vec4(0, 0, 0, 0); - labelItem->label->fontSize = 16; } std::vector getRequiredAssets() override {