⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 roam.cpp

📁 体现了lod(level of detail)算法 包括网格细分,空间层次
💻 CPP
字号:
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -