From 845517793a067971aa3582442ce193406cc97edb Mon Sep 17 00:00:00 2001 From: Lephenixnoir Date: Sun, 17 Jul 2022 11:58:47 +0100 Subject: [PATCH] meta: rename src/graphics.cpp -> src/camera.cpp --- CMakeLists.txt | 2 +- src/{graphics.cpp => camera.cpp} | 2 +- src/{graphics.h => camera.h} | 2 +- src/main.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename src/{graphics.cpp => camera.cpp} (98%) rename src/{graphics.h => camera.h} (92%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 861b2d0..67169b4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ find_package(LibProf 2.1 REQUIRED) set(SOURCES src/block.cpp - src/graphics.cpp + src/camera.cpp src/main.cpp src/render.cpp src/world.cpp) diff --git a/src/graphics.cpp b/src/camera.cpp similarity index 98% rename from src/graphics.cpp rename to src/camera.cpp index 2d899ba..603c823 100644 --- a/src/graphics.cpp +++ b/src/camera.cpp @@ -1,4 +1,4 @@ -#include "graphics.h" +#include "camera.h" #include "render.h" #include diff --git a/src/graphics.h b/src/camera.h similarity index 92% rename from src/graphics.h rename to src/camera.h index 9a3fecc..6c91230 100644 --- a/src/graphics.h +++ b/src/camera.h @@ -1,4 +1,4 @@ -// nooncraft.graphics: Application-level rendering logic +// nooncraft.camera: Application-level rendering logic #pragma once #include "world.h" diff --git a/src/main.cpp b/src/main.cpp index be305af..9a0b21e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,6 +1,6 @@ #include "render.h" #include "world.h" -#include "graphics.h" +#include "camera.h" #include #include #include