add 2 new utility functions to the BGE mesh py api.
authorCampbell Barton <ideasman42@gmail.com>
Sat, 10 Nov 2012 09:45:43 +0000 (09:45 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 10 Nov 2012 09:45:43 +0000 (09:45 +0000)
commitfecc3b9d68102630fc53f451a3f405f180b31384
tree36d2ca28db9d0eb244ee9fad921d81f5d66adcbb
parentf5c9f2c2530d21474f8e2ee5ea7dfdb483b7ba7d
add 2 new utility functions to the BGE mesh py api.

  mesh.transform(matid, matrix)
  mesh.transform_uv(matid, matrix, uv_index=-1))

much more efficient then looping over verts in python to transform them.
doc/python_api/rst/bge.types.rst
intern/itasc/CMakeLists.txt
source/gameengine/Ketsji/KX_MeshProxy.cpp
source/gameengine/Ketsji/KX_MeshProxy.h
source/gameengine/Rasterizer/RAS_MaterialBucket.h
source/gameengine/Rasterizer/RAS_TexVert.cpp
source/gameengine/Rasterizer/RAS_TexVert.h