Обновить Vector3.lua
This commit is contained in:
parent
49c2aa9c93
commit
66ebd6fd5d
|
@ -159,4 +159,9 @@ function Vector3:toArray()
|
|||
return {self.x, self.y, self.z}
|
||||
end
|
||||
|
||||
---@return Vec3Like
|
||||
function Vector3:projectXZ()
|
||||
return Vector3.new(self.x, 0, self.z)
|
||||
end
|
||||
|
||||
return Vector3
|
||||
|
|
Loading…
Reference in New Issue