From 03152a241b9463c582b56896f5f5f73717497ab4 Mon Sep 17 00:00:00 2001 From: LYW <leeyeanwoo@diteam.co.kr> Date: 수, 25 8월 2021 11:20:43 +0900 Subject: [PATCH] Ongoing100 #3486 CF AOI Review Review History 프로그램 테스트 및 적용 --- ReviewHistory/include/akSTL/backup/akWaypoint.h | 36 ++++++++++++++++++++++++++++++++++++ 1 files changed, 36 insertions(+), 0 deletions(-) diff --git a/ReviewHistory/include/akSTL/backup/akWaypoint.h b/ReviewHistory/include/akSTL/backup/akWaypoint.h new file mode 100644 index 0000000..465d882 --- /dev/null +++ b/ReviewHistory/include/akSTL/backup/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