roam.cpp

来自「体现了lod(level of detail)算法 包括网格细分,空间层次」· C++ 代码 · 共 27 行

CPP
27
字号
// Based on the Tread Marks engine by Longbow Digital Arts (www.LongbowDigitalArts.com)
#include <windows.h>
#include <math.h>
#include <gl/gl.h>
#include <gl/glaux.h>
#include <stdlib.h>
#include <stdio.h>
#include <fstream.h>
#include <iomanip.h>

#include "system.h"
#include "game.h"
#include "app.h"
#include "roam.h"
#include "glFrustum.h"
#include "unpak.h"
#include "jpeg.h"
#include "image.h"
#include "3DMath.h"

int MAP_SIZE, POOL_SIZE, NUM_PATCHES_PER_SIDE, PATCH_SIZE;

extern int win_height;
extern g_gamestate_type g_current;//, g_previous;
extern int cicle;

// 镥疱戾眄

⌨️ 快捷键说明

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