1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 18:59:57 +00:00

Use REAL_SIZE constant

This commit is contained in:
Miloslav Číž 2018-06-14 01:01:22 +02:00
parent c3d7ee5a9e
commit 1fd5ad3e56

View file

@ -5,6 +5,7 @@
#include <osg/Geode>
#include "world.hpp"
#include "../esm/loadland.hpp"
namespace MWRender
{
@ -18,7 +19,7 @@ CellBorder::CellBorder(Terrain::World *world, osg::Group *root):
void CellBorder::createCellBorderGeometry(int x, int y)
{
const int cellSize = 8192;
const int cellSize = ESM::Land::REAL_SIZE;
const int borderSegments = 40;
const float offset = 10.0;