This file is indexed.

/usr/share/gravit/spawn/physics.lua is in gravit-data 0.5.1+dfsg-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
-- vim:syntax=lua tabstop=4

-- ------------------------------------
-- physics-related functions
-- ------------------------------------

-- !!! needs loaded "constants.lua" and "functions.lua"


-- compute velocity for stable orbit 
function orbit_velocity(innermass, disttocenter)
	local result = 0.0

	if math.abs(disttocenter) > 0.1 then
		result= math.sqrt(gravit_g * math.abs(innermass) / math.abs(disttocenter))
	end

	if gravit_physics < PH_PROPER then
	        result=result*math.sqrt(math.abs(disttocenter))
	end

	return result
end