From c70166f3e86ffd0528884911483c067a6b21ebdd Mon Sep 17 00:00:00 2001 From: kojingeun <diteam.co.kr> Date: 금, 30 6월 2023 15:48:59 +0900 Subject: [PATCH] Ongoing60 #4517 CF AOI Review 결과 파일 찾기 실패 개선 1. AOIServer RawBin 폴더 연결 TimerThread 추가 - file_dummy 생성 후 Open/Close 반복(10초) 2. 프로젝트 누락 경로 및 설정 추가 - FTPUploader Include Path, Debug모드 psapi.lib --- ReviewHistory/include/akSTL/akVectorT.h | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 50 insertions(+), 0 deletions(-) diff --git a/ReviewHistory/include/akSTL/akVectorT.h b/ReviewHistory/include/akSTL/akVectorT.h new file mode 100644 index 0000000..6cccbbb --- /dev/null +++ b/ReviewHistory/include/akSTL/akVectorT.h @@ -0,0 +1,50 @@ +#pragma once + +#include "akSTLLinker.h" + + +#define _USE_MATH_DEFINES +#include <math.h> + +template<typename T> +class CakVectorT +{ +public: + CakVectorT(void){}; + CakVectorT(const T& X, const T& Y, const T& Z):x(X),y(Y),z(Z) {}; + //~CakVectorT(void){}; + + // Operations + + // translate the point + void Offset(T xOffset, T yOffset, T zOffset) throw(); + void Offset(CakVectorT<T> vector) throw(); + void set(T X, T Y, T Z) throw(); + + bool operator==(CakVectorT<T> vector) const throw(); + bool operator!=(CakVectorT<T> vector) const throw(); + void operator+=(CakVectorT<T> vector) throw(); + void operator-=(CakVectorT<T> vector) throw(); + + // Operators returning CakVector values + CakVectorT<T> operator-() const throw(); + CakVectorT<T> operator+(CakVectorT<T> vector) const throw(); + CakVectorT<T> operator-(CakVectorT<T> vector) const throw(); + + CakVectorT<T> operator*(T& a) const throw(); + CakVectorT<T> operator*(CakVectorT<T> &vec) const throw(); + + + //내적 + T Dot(CakVectorT<T> vec){ return (vec.x * x + vec.y * y + vec.z * z); }; + T Mag() { return sqrt(x*x+y*y); }; + T getLength() { return sqrt(x*x+y*y+z*z); }; + void Normalize(); +public: + T x,y,z; +}; + + + + +#include "inl/akVectorT.inl" \ No newline at end of file -- Gitblit v1.9.3