mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +01:00
add API documentation to flowlib (part 2)
This commit is contained in:
parent
fb50b256ed
commit
19db2a479f
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,11 @@
|
|||
# flowlib
|
||||
Simple flow functions.
|
||||
|
||||
## flowlib.is_touching()
|
||||
## flowlib.is_touching(realpos, nodepos, radius)
|
||||
Return true if a sphere of <radius> at <realpos> collide with node at <nodepos>.
|
||||
* realpos: position
|
||||
* nodepos: position
|
||||
* radius: number
|
||||
|
||||
|
||||
## flowlib.is_water(pos)
|
||||
|
|
Loading…
Reference in a new issue