mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-26 00:53:00 +00:00
vector3.round_dp(): todo
This commit is contained in:
parent
392708b190
commit
d1b9d1c1c1
1 changed files with 1 additions and 0 deletions
|
@ -126,6 +126,7 @@ function Vector3.round(a)
|
||||||
end
|
end
|
||||||
|
|
||||||
--- Rounds the components of this vector to the specified number of decimal places.
|
--- Rounds the components of this vector to the specified number of decimal places.
|
||||||
|
-- TODO: Document this.
|
||||||
-- @param a Vector3 The vector to round.
|
-- @param a Vector3 The vector to round.
|
||||||
-- @param dp number The number of decimal places to round to.
|
-- @param dp number The number of decimal places to round to.
|
||||||
-- @returns Vector3 A new instance with the components rounded to the specified number of decimal places.
|
-- @returns Vector3 A new instance with the components rounded to the specified number of decimal places.
|
||||||
|
|
Loading…
Reference in a new issue