Skip to content

Commit

Permalink
function name
Browse files Browse the repository at this point in the history
  • Loading branch information
BuckarooBanzay committed Jan 29, 2024
1 parent d12caeb commit 1d3b535
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions physics_propagation.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ minetest.register_chatcommand("test", {
local radius = 20

local t0 = minetest.get_us_time()
vacuum.propagate_mapblock(pos, radius)
vacuum.propagate_vacuum(pos, radius)
local t1 = minetest.get_us_time()
local us = t1 - t0
return true, "Propagation with radius of " .. radius .. " took " .. us .. " us"
Expand All @@ -73,7 +73,7 @@ local directions = {
{ x=0, y=0, z=-1 },
}

function vacuum.propagate_mapblock(center_pos, radius)
function vacuum.propagate_vacuum(center_pos, radius)
local pos1 = vector.subtract(center_pos, radius)
local pos2 = vector.add(center_pos, radius)

Expand Down

0 comments on commit 1d3b535

Please sign in to comment.