summaryrefslogtreecommitdiff
path: root/meta/3rd
diff options
context:
space:
mode:
Diffstat (limited to 'meta/3rd')
-rw-r--r--meta/3rd/love2d/library/love.graphics.lua2
-rw-r--r--meta/3rd/lovr/library/lovr.graphics.lua5
-rw-r--r--meta/3rd/lovr/library/lovr.math.lua4
3 files changed, 8 insertions, 3 deletions
diff --git a/meta/3rd/love2d/library/love.graphics.lua b/meta/3rd/love2d/library/love.graphics.lua
index c6b5ead8..1a168421 100644
--- a/meta/3rd/love2d/library/love.graphics.lua
+++ b/meta/3rd/love2d/library/love.graphics.lua
@@ -165,7 +165,7 @@ function love.graphics.ellipse(mode, x, y, radiusx, radiusy) end
---
---LÖVE will call this function internally as needed when most state is changed, so it is not necessary to manually call it.
---
----The current batch will be automatically flushed by color), as well as Shader:send and methods on Textures which change their state. Using a different Image in consecutive love.graphics.draw calls will also flush the current batch.
+---The current batch will be automatically flushed by love.graphics state changes (except for the transform stack and the current color), as well as Shader:send and methods on Textures which change their state. Using a different Image in consecutive love.graphics.draw calls will also flush the current batch.
---
---SpriteBatches, ParticleSystems, Meshes, and Text objects do their own batching and do not affect automatic batching of other draws, aside from flushing the current batch when they're drawn.
---
diff --git a/meta/3rd/lovr/library/lovr.graphics.lua b/meta/3rd/lovr/library/lovr.graphics.lua
index 63b3596a..ef6ffc46 100644
--- a/meta/3rd/lovr/library/lovr.graphics.lua
+++ b/meta/3rd/lovr/library/lovr.graphics.lua
@@ -1190,7 +1190,10 @@ function Model:getAnimationCount() end
---
---Returns the duration of an animation in the Model, in seconds.
---
-function Model:getAnimationDuration() end
+---@overload fun(index: number):number
+---@param name string # The name of the animation.
+---@return number duration # The duration of the animation, in seconds.
+function Model:getAnimationDuration(name) end
---
---Returns the name of one of the animations in the Model.
diff --git a/meta/3rd/lovr/library/lovr.math.lua b/meta/3rd/lovr/library/lovr.math.lua
index 007d8055..2a2139e8 100644
--- a/meta/3rd/lovr/library/lovr.math.lua
+++ b/meta/3rd/lovr/library/lovr.math.lua
@@ -491,7 +491,9 @@ function RandomGenerator:randomNormal(sigma, mu) end
---
---Seed the RandomGenerator with a new seed. Each seed will cause the RandomGenerator to produce a unique sequence of random numbers.
---
-function RandomGenerator:setSeed() end
+---@overload fun(low: number, high: number)
+---@param seed number # The random seed.
+function RandomGenerator:setSeed(seed) end
---
---Sets the state of the RandomGenerator, as previously obtained using `RandomGenerator:getState`. This can be used to reliably restore a previous state of the generator.