Add Music fluctuations project and Chinese plan docs
This commit is contained in:
3
MVS/Music fluctuations/source/renderer/CMakeLists.txt
Normal file
3
MVS/Music fluctuations/source/renderer/CMakeLists.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
file(GLOB_RECURSE RENDERER ./ *.cpp)
|
||||
|
||||
add_library(renderer ${RENDERER})
|
||||
14
MVS/Music fluctuations/source/renderer/Renderer.cpp
Normal file
14
MVS/Music fluctuations/source/renderer/Renderer.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#include"Renderer.h"
|
||||
|
||||
Renderer::Renderer(GPU& p_gpu)
|
||||
:m_gpu(p_gpu)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Renderer::~Renderer(){}
|
||||
|
||||
void Renderer::RenderUI()
|
||||
{
|
||||
|
||||
}
|
||||
17
MVS/Music fluctuations/source/renderer/Renderer.h
Normal file
17
MVS/Music fluctuations/source/renderer/Renderer.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
#include"../gpu/Gpu.h"
|
||||
#include"../global/Base.h"
|
||||
#include"../global/Config.h"
|
||||
|
||||
#define FRACRECT(v) v%RECTEDGE
|
||||
#define UNFRACRECT(v) RECTEDGE - v%RECTEDGE
|
||||
#define INTRECT(v) v - v % RECTEDGE
|
||||
class Renderer
|
||||
{
|
||||
public:
|
||||
Renderer(GPU& p_gpu);
|
||||
~Renderer();
|
||||
void RenderUI();
|
||||
private:
|
||||
GPU& m_gpu;
|
||||
};
|
||||
Reference in New Issue
Block a user