- header separation of model code.

This commit is contained in:
Christoph Oelckers 2020-04-27 01:16:17 +02:00
commit 46d263b5a8
15 changed files with 385 additions and 366 deletions

View file

@ -28,6 +28,7 @@
#include "filesystem.h"
#include "r_data/models/models.h"
#include "r_data/models/model_md2.h"
#include "texturemanager.h"
#include "modelrenderer.h"
@ -35,6 +36,9 @@
#pragma warning(disable:4244) // warning C4244: conversion from 'double' to 'float', possible loss of data
#endif
enum { VX, VZ, VY };
#define NUMVERTEXNORMALS 162
static float avertexnormals[NUMVERTEXNORMALS][3] = {
#include "tab_anorms.h"
};