mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-27 01:26:30 +00:00
Increase patch painter distance
This commit is contained in:
parent
ec09071264
commit
37bd76838e
1 changed files with 2 additions and 2 deletions
|
@ -4095,7 +4095,7 @@ DWORD WINAPI myThread (LPVOID vData)
|
||||||
|
|
||||||
// Create a Landscape.
|
// Create a Landscape.
|
||||||
CLandscapeModel *TheLand= (CLandscapeModel*)CNELU::Scene->createModel(LandscapeModelId);
|
CLandscapeModel *TheLand= (CLandscapeModel*)CNELU::Scene->createModel(LandscapeModelId);
|
||||||
TheLand->Landscape.setTileNear (1000.f);
|
TheLand->Landscape.setTileNear (10000.f);
|
||||||
TheLand->Landscape.TileBank=bank;
|
TheLand->Landscape.TileBank=bank;
|
||||||
|
|
||||||
// Enbable automatique lighting
|
// Enbable automatique lighting
|
||||||
|
@ -4192,7 +4192,7 @@ DWORD WINAPI myThread (LPVOID vData)
|
||||||
mat.setPos(P);
|
mat.setPos(P);
|
||||||
CNELU::Camera->setTransformMode (ITransformable::DirectMatrix);
|
CNELU::Camera->setTransformMode (ITransformable::DirectMatrix);
|
||||||
CNELU::Camera->setMatrix (mat);
|
CNELU::Camera->setMatrix (mat);
|
||||||
CNELU::Camera->setPerspective( 75.f*(float)Pi/180.f/*vp->GetFOV()*/, 1.33f, 0.1f, 1000.f);
|
CNELU::Camera->setPerspective( 75.f*(float)Pi/180.f/*vp->GetFOV()*/, 1.33f, 0.1f, 10000.f);
|
||||||
|
|
||||||
// Resize the sym vector
|
// Resize the sym vector
|
||||||
symVector.resize (pData->VectMesh.size());
|
symVector.resize (pData->VectMesh.size());
|
||||||
|
|
Loading…
Reference in a new issue