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 <QComboBox>
#include "video_core/pica.h"
#include "video_core/math.h"
#include "common/vector_math.h"
#include "video_core/debug_utils/debug_utils.h"
#include "video_core/pica.h"
#include "graphics_cmdlists.h"

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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