refactor (4/?)
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
#include "VxMemoryMappedFile.hpp"
|
||||
#include "VTEncoding.hpp"
|
||||
#include "../VTEncoding.hpp"
|
||||
|
||||
namespace LibCmo::VxMath {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "VTUtils.hpp"
|
||||
#include "../VTAll.hpp"
|
||||
#if defined(LIBCMO_OS_WIN32)
|
||||
#include <Windows.h>
|
||||
#else
|
||||
@ -40,9 +40,9 @@ namespace LibCmo::VxMath {
|
||||
VxMemoryMappedFile& operator=(const VxMemoryMappedFile&) = delete;
|
||||
~VxMemoryMappedFile(void);
|
||||
|
||||
inline void* GetBase(void) { return this->m_pMemoryMappedFileBase; }
|
||||
inline size_t GetFileSize(void) { return this->m_cbFile; }
|
||||
inline bool IsValid(void) { return this->m_bIsValid; }
|
||||
void* GetBase(void) { return this->m_pMemoryMappedFileBase; }
|
||||
size_t GetFileSize(void) { return this->m_cbFile; }
|
||||
bool IsValid(void) { return this->m_bIsValid; }
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -42,7 +42,7 @@ namespace LibCmo::VxMath {
|
||||
|
||||
Vx2DVector() : x(0.0f), y(0.0f) {}
|
||||
Vx2DVector(float f) : x(f), y(f) {}
|
||||
Vx2DVector(float _x, float _y, float _z) : x(_x), y(_y) {}
|
||||
Vx2DVector(float _x, float _y) : x(_x), y(_y) {}
|
||||
Vx2DVector(CK2::CKINT iX, CK2::CKINT iY) : x((float)iX), y((float)iY) {}
|
||||
Vx2DVector(const float f[2]) : x(f[0]), y(f[1]) {}
|
||||
};
|
||||
|
Reference in New Issue
Block a user