SDC C-Project CF Review 프로그램
LYW
2021-07-08 9cbd9e554f9956b3b945b51602f1d4a3fa0353e1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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; //µ¥ÀÌÅÍ º¯¼ö
 
 
    };
}