📄 constellation.cpp
字号:
// Constellation.cpp: implementation of the CConstellation class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Constellation.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CConstellation::CConstellation()
{
}
CConstellation::~CConstellation()
{
}
void CConstellation::Map(int nBits, int nBitCount, Complex & cCoordinate)
{
cCoordinate.r = (nBits & 0x2) ? -1 : 1;
cCoordinate.i = (nBits & 0x1) ? -1 : 1;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -