Blender Git Loki

Git Commits -> Revision fecc3b9

Revision fecc3b9 by Campbell Barton (master)
November 10, 2012, 09:45 (GMT)
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.

Commit Details:

Full Hash: fecc3b9d68102630fc53f451a3f405f180b31384
SVN Revision: 52066
Parent Commit: f5c9f2c
Lines Changed: +177, -2

7 Modified Paths:

/doc/python_api/rst/bge.types.rst (+20, -0) (Diff)
/intern/itasc/CMakeLists.txt (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_MeshProxy.cpp (+140, -0) (Diff)
/source/gameengine/Ketsji/KX_MeshProxy.h (+3, -1) (Diff)
/source/gameengine/Rasterizer/RAS_MaterialBucket.h (+2, -0) (Diff)
/source/gameengine/Rasterizer/RAS_TexVert.cpp (+9, -0) (Diff)
/source/gameengine/Rasterizer/RAS_TexVert.h (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021