qvelement.cpp
来自「Windows上的MUD客户端程序」· C++ 代码 · 共 43 行
CPP
43 行
#include <QvElement.h>
const char *QvElement::nodeTypeNames[NumNodeTypes] = {
"Unknown",
"OrthographicCamera",
"PerspectiveCamera",
"DirectionalLight",
"PointLight",
"SpotLight",
"NoOpTransform",
"MatrixTransform",
"Rotation",
"Scale",
"Transform",
"Translation",
};
QvElement::QvElement()
{
// These will be set to something real when the element is
// added to the state
depth = -1;
next = NULL;
// Presumably, the caller will set these
data = NULL;
type = Unknown;
}
QvElement::~QvElement()
{
}
void
QvElement::print()
{
#if !defined( CH_MSW )
printf("\t\tElement of type %s\n", nodeTypeNames[type]);
#else
//TRACE1("\t\tElement of type %s\n", nodeTypeNames[type]);
#endif
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?