fix pathfinding nekimegyafalnak style
This commit is contained in:
+4
-2
@@ -13,12 +13,14 @@ camera.rotation.set((60 / 180) * Math.PI, 0, 0)
|
||||
const entityMaterial = new THREE.MeshToonMaterial({ color: 0xffffff })
|
||||
const terrainMaterial = new THREE.MeshToonMaterial({ color: 0xffd700 })
|
||||
|
||||
const minimapCamera = new THREE.OrthographicCamera(-10, 10, 10, -10)
|
||||
// const minimapCamera = new THREE.OrthographicCamera(-10, 10, 10, -10)
|
||||
const minimapCamera = new THREE.OrthographicCamera(-6, 6, 6, -6)
|
||||
const minimapRenderer = new THREE.WebGLRenderer()
|
||||
|
||||
minimapRenderer.setSize(600, 600)
|
||||
minimapRenderer.setAnimationLoop(minimapRender)
|
||||
minimapCamera.position.set(10, 10, 10)
|
||||
// minimapCamera.position.set(10, 10, 10)
|
||||
minimapCamera.position.set(6, 6, 6)
|
||||
|
||||
const entities = {}
|
||||
const terrains = {}
|
||||
|
||||
Reference in New Issue
Block a user