?? vector3.cpp
字號(hào):
// CVector3.cpp: implementation of the CVector3 class.
//
//////////////////////////////////////////////////////////////////////
#include "StdAfx.h"
#include "vector3.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CArchive& operator << (CArchive& out, const CVector3& vc)
{
out<<vc.x<<vc.y<<vc.z;
return out;
}
CArchive& operator >> (CArchive& in,CVector3& vc)
{
in>>vc.x>>vc.y>>vc.z;
return in;
}
#ifdef _DEBUG
CDumpContext& operator << (CDumpContext& out, const CVector3& vc)
{
out<<vc.x<<" "<<vc.y<<" "<<vc.z;
return out;
}
#endif
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -