Explorar o código

Clarify World:interpolate alpha range;

bjorn hai 11 meses
pai
achega
968abd78b1
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  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",
                       name = "alpha",
                       type = "number",
                       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 = {}
                   returns = {}

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

@@ -17,7 +17,7 @@ return {
       type = 'number',
       type = 'number',
       description = [[
       description = [[
         The interpolation parameter.  An alpha of zero will use the previous collider pose, an alpha
         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.
       ]]
       ]]
     }
     }
   },
   },