프로그래밍/프로그래밍 관련 검색 결과, 35
Vector2D 클래스 제작
////최종 수정일:2014년 3월 1일////최종 작정자:캠캡////소스 설명 :2차원 벡터의 클래스화 및 인공지능 공부에 필요한 연산 구현////에러 :현재까지 없음. #pragma once template class Vector2D{private:Tx;Ty; public:explicitVector2D();explicitVector2D(T _x, T _y);template explicitVector2D(const Vector2D& other);virtual~Vector2D(void); inline voidZero(); //벡터의 요소를 0으로 설정 inline boolisZeor() const;//벡터의 요소가 모두 0인지 확인 inline doubleLength() const;//벡터의 길이를 반환..Lowpoly
게임 서버 프로그래머 지망생