1
0
Fork 0
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:
Starbeamrainbowlabs 2021-01-25 18:26:35 +00:00
parent 611c22bc22
commit 0e8f766455
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -56,7 +56,7 @@ class Terrain50Renderer {
let width = Math.floor(terrain.meta.ncols / 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
let pixels = new ArrayBuffer(width * height * 4);