Refactoring

git-svn-id: http://anki-3d-engine.googlecode.com/svn/trunk@1226 cf34f53d-7049-02d2-63c7-51c127bf19f8
Refactoring

git-svn-id: http://anki-3d-engine.googlecode.com/svn/trunk@1227 cf34f53d-7049-02d2-63c7-51c127bf19f8