summaryrefslogtreecommitdiff
path: root/client/chunk.lua
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-06-18 22:28:37 +0100
committerubq323 <ubq323@ubq323.website>2023-06-18 22:28:37 +0100
commitf55c9f415a081a175e48b51db894f23e59ce47a2 (patch)
treeee63f98d5c4f1a2a11e9800ced9c2861eb3085a7 /client/chunk.lua
parent598bd4332deddd5f4c506689cbd136f495835ea7 (diff)
fix line lengths
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)