model.h
来自「用brew开发3D的例程」· C头文件 代码 · 共 44 行
H
44 行
#ifndef MODEL_H
#define MODEL_H
/*=================================================================================
FILE: model.h
DESCRIPTION: This is the header file for the model.c source file, and contains
data and prototypes for the model functions of TutorI3D.
Copyright (c) 1999-2003 QUALCOMM Incorporated.
All Rights Reserved.
QUALCOMM Proprietary/GTDR
=================================================================================*/
#include "tutori3d.h"
int Obj_GetTriNorm(TutorI3D* p3D, ObjType *Model);
boolean Obj_RenderObj( TutorI3D *p3D, ObjType *Model, const AEE3DTransformMatrix *p,
boolean withLight);
void Obj_FreeObj( ObjType *Model );
ObjType* Obj_BuildAxisModel( TutorI3D *pMe );
ObjType* Obj_BuildCubeModel( TutorI3D *pMe );
ObjType *Obj_BuildSphereModel( TutorI3D *pMe );
#ifndef ALIGN4
#define ALIGN4( i ) (((i) + 3) & ~3)
#endif
#define MODEL_SCALE_DIV_1K 3000
#define MODEL_SCALE (MODEL_SCALE_DIV_1K * 1024)
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?