mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 10:01:23 +01:00
feat: 3d mode - improve water bodies mesh
This commit is contained in:
parent
0eaabcb051
commit
585f3c34b1
3 changed files with 48 additions and 6 deletions
|
|
@ -1051,7 +1051,7 @@ function toggle3dOptions() {
|
|||
byId("options3dMeshSky").addEventListener("input", changeColors);
|
||||
byId("options3dMeshWater").addEventListener("input", changeColors);
|
||||
byId("options3dGlobeResolution").addEventListener("change", changeResolution);
|
||||
// byId("options3dMeshWireframeMode").addEventListener("change",toggleWireframe3d);
|
||||
byId("options3dMeshWireframeMode").addEventListener("change", toggleWireframe3d);
|
||||
byId("options3dSunColor").addEventListener("input", changeSunColor);
|
||||
byId("options3dSubdivide").addEventListener("change", toggle3dSubdivision);
|
||||
|
||||
|
|
@ -1116,9 +1116,9 @@ function toggle3dOptions() {
|
|||
ThreeD.toggle3dSubdivision();
|
||||
}
|
||||
|
||||
// function toggleWireframe3d() {
|
||||
// ThreeD.toggleWireframe();
|
||||
// }
|
||||
function toggleWireframe3d() {
|
||||
ThreeD.toggleWireframe();
|
||||
}
|
||||
|
||||
function toggleSkyMode() {
|
||||
const hide = ThreeD.options.extendedWater;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue