draw.h

来自「allows the user to select files containi」· C头文件 代码 · 共 28 行

H
28
字号
#ifndef DRAW_H_
#define DRAW_H_

#define STRICT
#include <windows.h>

#include "matrix.h"
#include "object.h"


/*
 * Sets the window and the viewport
 */
void DrawSetTransformation (const RECT *pWindow, const RECT *pViewport);

/*
 * Sets the projection type.
 */
void DrawSetProjection (const MATRIX_4x4 proj);


/*
 * Draws the object using the main projection.
 */
void DrawObject (HDC hDC, const POBJECT_3D pObject);


#endif /* DRAW_H_ */

⌨️ 快捷键说明

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