constants.h

来自「游戏编程精华02-含有几十个游戏编程例子」· C头文件 代码 · 共 48 行

H
48
字号
/******************************************************************************

  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_WORLDVIEWPROJ_0   0
#define CV_WORLDVIEWPROJ_1   1
#define CV_WORLDVIEWPROJ_2   2
#define CV_WORLDVIEWPROJ_3   3

#define CV_UV_OFFSET_TO_USE  4

#define CV_T0_BASE           8
#define CV_T1_BASE          13
#define CV_T2_BASE          18
#define CV_T3_BASE          23

#define CV_UV_T0_NO_OFFSET   8
#define CV_UV_T0_TYPE1       9
#define CV_UV_T0_TYPE2      10
#define CV_UV_T0_TYPE3      11
#define CV_UV_T0_TYPE4      12

#define CV_UV_T1_NO_OFFSET  13
#define CV_UV_T1_TYPE1      14
#define CV_UV_T1_TYPE2      15
#define CV_UV_T1_TYPE3      16
#define CV_UV_T1_TYPE4      17

#define CV_UV_T2_NO_OFFSET  18
#define CV_UV_T2_TYPE1      19
#define CV_UV_T2_TYPE2      20
#define CV_UV_T2_TYPE3      21
#define CV_UV_T2_TYPE4      22

#define CV_UV_T3_NO_OFFSET  23
#define CV_UV_T3_TYPE1      24
#define CV_UV_T3_TYPE2      25
#define CV_UV_T3_TYPE3      26
#define CV_UV_T3_TYPE4      27

⌨️ 快捷键说明

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