Blender Git Commit Log
Git Commits -> Revision b42ce0c
Revision b42ce0c by Hans Goudey (master) October 14, 2021, 16:06 (GMT) |
Functions: Generic array data structure Sometimes it's useful to pass around a set of values with a generic type. The virtual array data structures allow this, but they don't have logical ownership. My initial use case for this is as a return type for the functions that interpolate curve attributes to evaluated points, but a need for this data structure has come up in a few other places as well. It also reduced the need for templates. Differential Revision: https://developer.blender.org/D11103 |
Commit Details:
Full Hash: b42ce0c54cab8ff5f85ca795cc1f0dab4308449b
Parent Commit: 5e8775a
Lines Changed: +401, -0
2 Added Paths:
/source/blender/functions/FN_generic_array.hh (+270, -0) (View)
/source/blender/functions/tests/FN_generic_array_test.cc (+118, -0) (View)
/source/blender/functions/tests/FN_generic_array_test.cc (+118, -0) (View)