citra-emu
/
citra-canary
Archived
1
0
Fork 0

Move video_core/math.h to common/vector_math.h

The file only contained vector manipulation code, and such widely-useable code doesn't belong in video_core.
This commit is contained in:
archshift 2015-05-24 12:16:22 -07:00
parent 8a04c65e20
commit 5df2d1b5f7
9 changed files with 9 additions and 10 deletions

View File

@ -11,10 +11,10 @@
#include <QSpinBox> #include <QSpinBox>
#include <QComboBox> #include <QComboBox>
#include "video_core/pica.h" #include "common/vector_math.h"
#include "video_core/math.h"
#include "video_core/debug_utils/debug_utils.h" #include "video_core/debug_utils/debug_utils.h"
#include "video_core/pica.h"
#include "graphics_cmdlists.h" #include "graphics_cmdlists.h"

View File

@ -54,6 +54,7 @@ set(HEADERS
thread_queue_list.h thread_queue_list.h
thunk.h thunk.h
timer.h timer.h
vector_math.h
) )
create_directory_groups(${SRCS} ${HEADERS}) create_directory_groups(${SRCS} ${HEADERS})

View File

@ -33,7 +33,6 @@ set(HEADERS
command_processor.h command_processor.h
gpu_debugger.h gpu_debugger.h
hwrasterizer_base.h hwrasterizer_base.h
math.h
pica.h pica.h
primitive_assembly.h primitive_assembly.h
rasterizer.h rasterizer.h

View File

@ -6,8 +6,7 @@
#include "common/common_types.h" #include "common/common_types.h"
#include "common/swap.h" #include "common/swap.h"
#include "common/vector_math.h"
#include "video_core/math.h"
namespace Color { namespace Color {

View File

@ -19,9 +19,9 @@
#include "common/assert.h" #include "common/assert.h"
#include "common/file_util.h" #include "common/file_util.h"
#include "common/math_util.h" #include "common/math_util.h"
#include "common/vector_math.h"
#include "video_core/color.h" #include "video_core/color.h"
#include "video_core/math.h"
#include "video_core/pica.h" #include "video_core/pica.h"
#include "video_core/utils.h" #include "video_core/utils.h"
#include "video_core/video_core.h" #include "video_core/video_core.h"

View File

@ -12,7 +12,8 @@
#include <mutex> #include <mutex>
#include <vector> #include <vector>
#include "video_core/math.h" #include "common/vector_math.h"
#include "video_core/pica.h" #include "video_core/pica.h"
namespace Pica { namespace Pica {

View File

@ -15,8 +15,7 @@
#include "common/common_funcs.h" #include "common/common_funcs.h"
#include "common/common_types.h" #include "common/common_types.h"
#include "common/logging/log.h" #include "common/logging/log.h"
#include "common/vector_math.h"
#include "math.h"
namespace Pica { namespace Pica {

View File

@ -4,13 +4,13 @@
#include "common/make_unique.h" #include "common/make_unique.h"
#include "common/math_util.h" #include "common/math_util.h"
#include "common/vector_math.h"
#include "core/memory.h" #include "core/memory.h"
#include "video_core/renderer_opengl/gl_rasterizer_cache.h" #include "video_core/renderer_opengl/gl_rasterizer_cache.h"
#include "video_core/renderer_opengl/pica_to_gl.h" #include "video_core/renderer_opengl/pica_to_gl.h"
#include "video_core/debug_utils/debug_utils.h" #include "video_core/debug_utils/debug_utils.h"
#include "video_core/math.h"
RasterizerCacheOpenGL::~RasterizerCacheOpenGL() { RasterizerCacheOpenGL::~RasterizerCacheOpenGL() {
FullFlush(); FullFlush();