mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-02-26 01:23:48 +01:00
add API documentation to flowlib (part 2)
This commit is contained in:
@ -1,7 +1,11 @@
|
|||||||
# flowlib
|
# flowlib
|
||||||
Simple flow functions.
|
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)
|
## flowlib.is_water(pos)
|
||||||
|
Reference in New Issue
Block a user