Changeset 4202 for data/trunk/scripts/lua_extra_functions
- Timestamp:
- Jul 17, 2006, 9:32:01 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
data/trunk/scripts/lua_extra_functions
r3991 r4202 15 15 -- Returns the distance between (x1,x2,x3) and (y1,y2,y3) 16 16 function dist( x1,x2,x3, y1,y2,y3 ) 17 18 17 return math.sqrt( (x1-y1)^2 + (x2-y2)^2 + (x3-y3)^2 ) 19 20 18 end
Note: See TracChangeset
for help on using the changeset viewer.