Use REAL_SIZE constant

0.6.3
Miloslav Číž 7 years ago
parent c3d7ee5a9e
commit 1fd5ad3e56

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

Loading…
Cancel
Save