mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-10 21:40:15 +00:00
Use REAL_SIZE constant
This commit is contained in:
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…
x
Reference in New Issue
Block a user