mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 20:11:24 +01:00
Lower city labels
This commit is contained in:
parent
91c1de425b
commit
6ceb9497ae
1 changed files with 1 additions and 1 deletions
|
|
@ -273,7 +273,7 @@ async function createMesh(width, height, segmentsX, segmentsY) {
|
|||
const text_mesh = createTextMesh(label.innerHTML, "Almendra SC", 25)
|
||||
|
||||
const [x, y, z] = get3dCoords(label.x.baseVal[0].value, label.y.baseVal[0].value)
|
||||
text_mesh.position.set(x, y + 25, z);
|
||||
text_mesh.position.set(x, y + 15, z);
|
||||
text_mesh.animate = function () {
|
||||
this.lookAt(camera.position);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue