📄 model.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -