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

📄 constants.h

📁 游戏编程精华02-含有几十个游戏编程例子
💻 H
字号:
/******************************************************************************

  Copyright (C) 1999, 2000 NVIDIA Corporation
  This file is provided without support, instruction, or implied warranty of any
  kind.  NVIDIA makes no guarantee of its fitness for a particular purpose and is
  not liable under any circumstances for any damages or loss whatsoever arising
  from the use or inability to use this file or items derived from it.
  
        
******************************************************************************/

#define CV_CONSTANTS             0

#define CV_CURR_OBJECTID_IN_TEXELS 1
#define CV_TEXTURE_SIZE_IN_TEXELS  2

#define CV_SHADOW_COLOR			 3

#define CV_MVP_TXF_0             4 
#define CV_MVP_TXF_1             5
#define CV_MVP_TXF_2             6
#define CV_MVP_TXF_3             7

#define CV_CURR_WORLDVIEW_TXF_0 11
#define CV_CURR_WORLDVIEW_TXF_1 12
#define CV_CURR_WORLDVIEW_TXF_2 13
#define CV_CURR_WORLDVIEW_TXF_3 14

#define CV_CURR_SQUISH_TXF_0 15
#define CV_CURR_SQUISH_TXF_1 16
#define CV_CURR_SQUISH_TXF_2 17
#define CV_CURR_SQUISH_TXF_3 18


#define CV_CURR_WORLD2LIGHT_TXF_0 21
#define CV_CURR_WORLD2LIGHT_TXF_1 22
#define CV_CURR_WORLD2LIGHT_TXF_2 23
#define CV_CURR_WORLD2LIGHT_TXF_3 24

#define CV_CURR_LIGHT_LOCATION		   27

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -