From 9cbd9e554f9956b3b945b51602f1d4a3fa0353e1 Mon Sep 17 00:00:00 2001 From: LYW <leeyeanwoo@diteam.co.kr> Date: 목, 08 7월 2021 17:24:24 +0900 Subject: [PATCH] Ongoing60 #3486 CF AOI Review Review History 프로그램 테스트 및 적용 --- ReviewHistory/include/akSTL/새 폴더/akWaypoint.h | 36 ++++++++++++++++++++++++++++++++++++ 1 files changed, 36 insertions(+), 0 deletions(-) diff --git "a/ReviewHistory/include/akSTL/\354\203\210 \355\217\264\353\215\224/akWaypoint.h" "b/ReviewHistory/include/akSTL/\354\203\210 \355\217\264\353\215\224/akWaypoint.h" new file mode 100644 index 0000000..465d882 --- /dev/null +++ "b/ReviewHistory/include/akSTL/\354\203\210 \355\217\264\353\215\224/akWaypoint.h" @@ -0,0 +1,36 @@ +#pragma once + + +#include "akSTLLinker.h" +#include "akSTLVector.h" + +namespace akSTL +{ + class AKSTL_DLLSPEC CakWaypoint + { + public: + CakWaypoint(void); + ~CakWaypoint(void); + + public: + void clear(); + void pointAdd(khVector3d point); + void pointInsert(unsigned int index, khVector3d point);//범위를 넘어가면 젤 뒤에 추가 + void pointDelete(unsigned int index); + + int size(){return m_nPointsNum;}; + + khVector3d& operator [](unsigned int nindex){return m_pPoints[nindex];}; + CakWaypoint& operator= (CakWaypoint& waypoint); + + private: + void secureMemory(); + + private: + int m_nMakePoints; //확보 메모리 사이즈 + int m_nPointsNum; //현재 입력된 Point 갯수 + khVector3d* m_pPoints; //데이터 변수 + + + }; +} \ No newline at end of file -- Gitblit v1.9.3