1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00

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->getHNExact(landData->normals, sizeof(VNML), "VNML");
//mEsm->getHNExact(landData->normals, sizeof(VNML), "VNML");
if (mEsm->isNextSub("VNML"))
{
mEsm->skipHSubSize(12675);
}
VHGT rawHeights;

View File

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