Files
goo-engine/source/blender/python/api2_2x/doc
Campbell Barton 8a83aff9f5 [#18678] Swizzle properties for Mathutils.Vector
patch from Alex Fraser (z0r)

eg.
  - vec.xyz = vec.zyx
  - vec.xy = vec.zw
  - vec.xxy = vec.wzz
  - vec.yzyz = vec.yxyx

See http://en.wikipedia.org/wiki/Swizzling_(computer_graphics)

made some minor modifications to this patch.

tested access times and adding 336 attributes to vectors doesn't make a noticeable differences to speed of existing axis attributes (x,y,z,w) - thanks to python dict lookups.
2009-05-03 17:52:03 +00:00
..
2008-09-19 18:53:05 +00:00
2008-12-09 00:18:30 +00:00
2008-08-01 23:39:52 +00:00
2008-10-14 22:31:10 +00:00
2008-11-08 13:38:21 +00:00
2008-04-27 18:26:20 +00:00
2008-07-26 10:45:11 +00:00
2008-10-14 22:31:10 +00:00
BPy
2009-04-19 00:09:47 +00:00
2008-07-26 10:45:11 +00:00
2008-10-12 14:27:30 +00:00
2008-12-15 05:30:09 +00:00
2008-05-21 19:24:35 +00:00
2008-10-14 22:31:10 +00:00
2008-10-08 16:37:33 +00:00
2008-10-19 21:39:50 +00:00
2009-04-19 22:02:48 +00:00
2008-08-30 14:32:16 +00:00
2008-10-14 22:31:10 +00:00
2008-10-14 22:31:10 +00:00
2008-09-08 23:39:32 +00:00