summaryrefslogtreecommitdiff
path: root/client/chunk.lua
diff options
context:
space:
mode:
Diffstat (limited to 'client/chunk.lua')
-rw-r--r--client/chunk.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/client/chunk.lua b/client/chunk.lua
index 73fe949..f02277c 100644
--- a/client/chunk.lua
+++ b/client/chunk.lua
@@ -12,8 +12,10 @@ end
local function tile_to_vattr(tile)
-- for now tiles are always numbers
-- so this just returns the input
- -- this function might move to drawing.lua once it does something less trivial
- assert(type(tile) == "number","can't send non-numerical tile to gpu")
+ -- this function might move to drawing.lua
+ -- once it does something less trivial
+ assert(type(tile) == "number",
+ "can't send non-numerical tile to gpu")
return tile
end
function ChunkC.imesh_from_chunk_data(the_chunk)