Refactoring

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