blender/source/gameengine
Campbell Barton eb22a7b210 PyRNA API support for matrix types as Mathutils matrix (with callbacks) rather then a generic rna sequence of floats.
Any 3x3 or 4x4 rna matrix will automatically be returned as a Mathutils matrix.
This makes useful stuff like multiplying a vector location by an object matrix possible.
 ob = bpy.data.scenes[0].objects[0]
 print (ob.data.verts[0].co * ob.matrix)

Also added mathutils matrix types to the BGE GameObject.localOrientation, worldOrientation

* MT_Matrix3x3 added getValue3x3 and setValue3x3, assumed a 4x3 float array.
* KX_GameObject.cpp convenience functions NodeSetGlobalOrientation, NodeGetLocalOrientation, NodeGetLocalScaling, NodeGetLocalPosition.
* 2.5 python api now initializes modules BGL, Mathutils and Geometry
* modules py3 PyModuleDef's use PyModuleDef_HEAD_INIT, rather then {}, was making msvc fail to build.
* added macros for Vector_ReadCallback, Vector_WriteCallback etc. to check if the callback pointer is set before calling the function.
2009-06-23 13:34:45 +00:00
..
BlenderRoutines Spring Cleaning 2009-06-21 16:18:38 +00:00
Converter Spring Cleaning 2009-06-21 16:18:38 +00:00
Expressions PyAPI Mathutils Vector callbacks, referencing other PyObjects rather then thin wrapping vectors which is crash prone. 2009-06-22 04:26:48 +00:00
GameLogic svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r20849:20855 2009-06-13 14:07:38 +00:00
GamePlayer Spring Cleaning 2009-06-21 16:18:38 +00:00
Ketsji PyRNA API support for matrix types as Mathutils matrix (with callbacks) rather then a generic rna sequence of floats. 2009-06-23 13:34:45 +00:00
Network 2.50: 2009-06-08 20:08:19 +00:00
Physics Spring Cleaning 2009-06-21 16:18:38 +00:00
PyDoc BGE Action Actuator setChannel() function was broken in a number of ways. 2009-06-16 18:25:48 +00:00
Rasterizer merged from trunk 20741:20848 2009-06-13 11:09:13 +00:00
SceneGraph 2.50: 2009-06-08 20:08:19 +00:00
VideoTexture svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r20855:20928 2009-06-16 14:21:58 +00:00
CMakeLists.txt Spring Cleaning 2009-06-21 16:18:38 +00:00
Makefile Makefile fixes for compiling with new videotexture code. 2008-11-02 18:12:45 +00:00
SConscript Spring Cleaning 2009-06-21 16:18:38 +00:00