From 902d5ddc8ba81446810d3f638f4ce33cae1f28ac Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Wed, 4 Aug 2021 00:53:47 +0100 Subject: [PATCH] wea.calculate_normals: update comment --- worldeditadditions/utils/terrain.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldeditadditions/utils/terrain.lua b/worldeditadditions/utils/terrain.lua index 6d7e84d..014c0b3 100644 --- a/worldeditadditions/utils/terrain.lua +++ b/worldeditadditions/utils/terrain.lua @@ -49,7 +49,7 @@ end -- will have the z and y values swapped. -- @param heightmap table A ZERO indexed flat heightmap. See worldeditadditions.make_heightmap(). -- @param heightmap_size int[] The size of the heightmap in the form [ z, x ] --- @return Vector[] The calculated normal map, in the same form as the input heightmap. Each element of the array is a 3D Vector (i.e. { x, y, z }) representing a normal. +-- @return Vector[] The calculated normal map, in the same form as the input heightmap. Each element of the array is a Vector3 instance representing a normal. function worldeditadditions.calculate_normals(heightmap, heightmap_size) -- print("heightmap_size: "..heightmap_size.x.."x"..heightmap_size.z) local result = {}