use same params and types format for all of lib

This commit is contained in:
Luke committed 2022-09-17 13:25:20 +02:00
1 parent e3293c2109
commit 6c2ab8f8ec
14 files changed
+114 -67

No files matched your search

+5 -3
View File
@@ -3,11 +3,13 @@
Simple and centralised distance checking, supporting callbacks when entering, leaving, and standing in-range of set coordinates.
```lua
-- coords: vector3
-- distance: number
-- data: table
lib.points.new(coords, distance, data)
```
* coords: `vector3`
* distance: `number`
* data: `table`
```lua
local point = lib.points.new(playerCoords, 5, {
dunak = 'nerd',
})