Browse Source

Clarify World:interpolate alpha range;

bjorn 9 months ago
parent
commit
968abd78b1
2 changed files with 2 additions and 2 deletions
  1. 1 1
      api/init.lua
  2. 1 1
      api/lovr/physics/World/interpolate.lua

+ 1 - 1
api/init.lua

@@ -40440,7 +40440,7 @@ return {
                     {
                       name = "alpha",
                       type = "number",
-                      description = "The interpolation parameter.  An alpha of zero will use the previous collider pose, an alpha of 1.0 will use the latest collider pose, etc."
+                      description = "The interpolation parameter.  An alpha of zero will use the previous collider pose, an alpha of 1.0 will use the latest collider pose, etc.  Can be less than zero or greater than one."
                     }
                   },
                   returns = {}

+ 1 - 1
api/lovr/physics/World/interpolate.lua

@@ -17,7 +17,7 @@ return {
       type = 'number',
       description = [[
         The interpolation parameter.  An alpha of zero will use the previous collider pose, an alpha
-        of 1.0 will use the latest collider pose, etc.
+        of 1.0 will use the latest collider pose, etc.  Can be less than zero or greater than one.
       ]]
     }
   },