lighting.h
来自「用brew开发3D的例程」· C头文件 代码 · 共 36 行
H
36 行
#ifndef LIGHTING_H
#define LIGHTING_H
/*=================================================================================
FILE: lighting.h
DESCRIPTION: This is the header file for the lighting tutorials, containing
lighting specific data and function prototypes.
Copyright (c) 1999-2003 QUALCOMM Incorporated.
All Rights Reserved.
QUALCOMM Proprietary/GTDR
=================================================================================*/
#include "tutori3d.h"
/* Public functions */
boolean TutorI3D_InitLightingScreen(TutorI3D* pMe);
boolean TutorI3D_DrawLightingMenu(TutorI3D* pMe);
boolean TutorI3D_LightingHandleEvent(TutorI3D* pMe, AEEEvent event,
uint16 wParam, uint32 dwParam);
void LightingDirectionColorManipulateBuf(TutorI3D* pMe);
void LightingMaterialManipulateBuf(TutorI3D* pMe);
#define LIGHT_DIRECTION_UNIT 256
#define LIGHT_COLOR_UNIT 1
#define MATERIAL_UNIT 1
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?