⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qvelement.cpp

📁 Windows上的MUD客户端程序
💻 CPP
字号:
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -