From ffe71aadfdcb4a9ea2ac4d8d320983d42ef3cad5 Mon Sep 17 00:00:00 2001 From: LYW <leeyeanwoo@diteam.co.kr> Date: 화, 14 9월 2021 15:19:39 +0900 Subject: [PATCH] 버그 수정 --- ReviewHistory/include/akCore/akWaypoint.h | 36 ++++++++++++++++++++++++++++++++++++ 1 files changed, 36 insertions(+), 0 deletions(-) diff --git a/ReviewHistory/include/akCore/akWaypoint.h b/ReviewHistory/include/akCore/akWaypoint.h new file mode 100644 index 0000000..a430730 --- /dev/null +++ b/ReviewHistory/include/akCore/akWaypoint.h @@ -0,0 +1,36 @@ +#pragma once + + +#include "akCoreLinker.h" +#include "akStructVector.h" + +namespace akCore +{ + class AKCORE_DLLSPEC CakWaypoint + { + public: + CakWaypoint(void); + ~CakWaypoint(void); + + public: + void clear(); + void pointAdd(akVector3d point); + void pointInsert(unsigned int index, akVector3d point);//범위를 넘어가면 젤 뒤에 추가 + void pointDelete(unsigned int index); + + int size(){return m_nPointsNum;}; + + akVector3d& operator [](unsigned int nindex){return m_pPoints[nindex];}; + CakWaypoint& operator= (CakWaypoint& waypoint); + + private: + void secureMemory(); + + private: + int m_nMakePoints; //확보 메모리 사이즈 + int m_nPointsNum; //현재 입력된 Point 갯수 + akVector3d* m_pPoints; //데이터 변수 + + + }; +} \ No newline at end of file -- Gitblit v1.9.3