mirror of
https://github.com/sbrl/terrain50-cli.git
synced 2024-11-22 06:53:01 +00:00
Terrain50Renderer: tweak logging
This commit is contained in:
parent
611c22bc22
commit
0e8f766455
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class Terrain50Renderer {
|
||||||
let width = Math.floor(terrain.meta.ncols / this.scale_factor),
|
let width = Math.floor(terrain.meta.ncols / this.scale_factor),
|
||||||
height = Math.floor(terrain.meta.nrows / this.scale_factor);
|
height = Math.floor(terrain.meta.nrows / this.scale_factor);
|
||||||
|
|
||||||
l.log(`[Terrain50Renderer] Dimensions: ${width}x${height}`);
|
l.info(`[Terrain50Renderer] Dimensions: ${width}x${height}`);
|
||||||
|
|
||||||
// Create the image
|
// Create the image
|
||||||
let pixels = new ArrayBuffer(width * height * 4);
|
let pixels = new ArrayBuffer(width * height * 4);
|
||||||
|
|
Loading…
Reference in a new issue