mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Tweaking around
This commit is contained in:
parent
39fbf15273
commit
de3fdba568
4 changed files with 23 additions and 34 deletions
10
src/main.cpp
10
src/main.cpp
|
@ -252,9 +252,6 @@ TODO: Change AttributeList to split the area into smaller sections so
|
|||
TODO: Change AttributeList to be 2D, as it would be too slow to search
|
||||
in 3D fields anyway.
|
||||
|
||||
FIXME: The new pre-sunlight-propagation code messes up with initial
|
||||
water lighting. Does it any more?
|
||||
|
||||
TODO: Remove HMParams
|
||||
|
||||
TODO: Flowing water to actually contain flow direction information
|
||||
|
@ -2119,9 +2116,9 @@ int main(int argc, char *argv[])
|
|||
camera_direction.rotateXZBy(camera_yaw);
|
||||
|
||||
// This is at the height of the eyes of the current figure
|
||||
v3f camera_position = player_position + v3f(0, BS+BS/2, 0);
|
||||
//v3f camera_position = player_position + v3f(0, BS+BS/2, 0);
|
||||
// This is more like in minecraft
|
||||
//v3f camera_position = player_position + v3f(0, BS+BS*0.625, 0);
|
||||
v3f camera_position = player_position + v3f(0, BS+BS*0.625, 0);
|
||||
|
||||
camera->setPosition(camera_position);
|
||||
// *100.0 helps in large map coordinates
|
||||
|
@ -2752,7 +2749,8 @@ int main(int argc, char *argv[])
|
|||
//TimeTaker //timer10("//timer10");
|
||||
|
||||
video::SMaterial m;
|
||||
m.Thickness = 10;
|
||||
//m.Thickness = 10;
|
||||
m.Thickness = 3;
|
||||
m.Lighting = false;
|
||||
driver->setMaterial(m);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue