Browse Source

Minor comment update on Lua samples. [ci skip]

Yao Wei Tjong 姚伟忠 11 years ago
parent
commit
282aee4b4e

+ 1 - 1
Bin/Data/LuaScripts/12_PhysicsStressTest.lua

@@ -3,6 +3,7 @@
 --     - Physics and rendering performance with a high (1000) moving object count
 --     - Using triangle meshes for collision
 --     - Optimizing physics simulation by leaving out collision event signaling
+--     - Usage of Lua Coroutine to yield/resume based on time step
 
 require "LuaScripts/Utilities/Sample"
 
@@ -58,7 +59,6 @@ function CreateScene()
     light.shadowBias = BiasParameters(0.00025, 0.5)
     -- Set cascade splits at 10, 50 and 200 world units, fade shadows out at 80% of maximum shadow distance
     light.shadowCascade = CascadeParameters(10.0, 50.0, 200.0, 0.0, 0.8)
-
     
     if true then
         -- Create a floor object, 500 x 500 world units. Adjust position so that the ground is at zero Y

+ 1 - 1
Bin/Data/LuaScripts/24_Urho2DSprite.lua

@@ -3,7 +3,7 @@
 --     - Creating a 2D scene with sprite
 --     - Displaying the scene using the Renderer subsystem
 --     - Handling keyboard to move and zoom 2D camera
---     - Using Lua Closure to update scene
+--     - Usage of Lua Closure to update scene
 
 require "LuaScripts/Utilities/Sample"