mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
disabled loading of land normals again, didn't need them after all
This commit is contained in:
parent
5f014f7411
commit
e8bba2b833
@ -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;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user