disabled loading of land normals again, didn't need them after all

This commit is contained in:
scrawl 2012-09-20 14:06:30 +02:00
parent 5f014f7411
commit e8bba2b833
2 changed files with 6 additions and 2 deletions

View file

@ -84,7 +84,11 @@ void Land::loadData()
{ {
mEsm->restoreContext(context); mEsm->restoreContext(context);
mEsm->getHNExact(landData->normals, sizeof(VNML), "VNML"); //mEsm->getHNExact(landData->normals, sizeof(VNML), "VNML");
if (mEsm->isNextSub("VNML"))
{
mEsm->skipHSubSize(12675);
}
VHGT rawHeights; VHGT rawHeights;

View file

@ -60,7 +60,7 @@ struct Land
{ {
float heightOffset; float heightOffset;
float heights[LAND_NUM_VERTS]; float heights[LAND_NUM_VERTS];
float normals[LAND_NUM_VERTS * 3]; //float normals[LAND_NUM_VERTS * 3];
uint16_t textures[LAND_NUM_TEXTURES]; uint16_t textures[LAND_NUM_TEXTURES];
bool usingColours; bool usingColours;