BGE animations: Adding a separate list to KX_Scene for animated objects. This makes...
authorMitchell Stokes <mogurijin@gmail.com>
Sat, 3 Sep 2011 20:48:47 +0000 (20:48 +0000)
committerMitchell Stokes <mogurijin@gmail.com>
Sat, 3 Sep 2011 20:48:47 +0000 (20:48 +0000)
commit1f8291f78d6eb3e02414cc7801fe5ba9ad524e4b
tree8d038bfb9129ae4c2d708f0abfd6c7644000dc4c
parent8295480bbeee2aafa0ea70d19836b3ab094ee08e
BGE animations: Adding a separate list to KX_Scene for animated objects. This makes scenes with a lot of non-animated objects faster. In my test scene with 8000 static, non-animated cubes my time spent on animations went from 1.5~1.7ms to 0.001ms.
source/gameengine/Ketsji/KX_GameObject.cpp
source/gameengine/Ketsji/KX_Scene.cpp
source/gameengine/Ketsji/KX_Scene.h