« Return to Thread: Named arrays

Named arrays

by bART Janssens-2 :: Rate this Message:

Reply to Author | View in Thread

Tim,

While adding named array support to SubdivideFaces, I needed to be able to
construct the target array in a random order. To do this, I put a variation
of the named_array_copier in the mesh module, that has a "copy" method
instead of a "push_back" method, so data can be copied to any position in the
target array. Because this requires memory to be allocated, there is also a
resize function.

Is it OK if I merge the copy methods into the named_array_copier in the SDK,
and add the resize function to named_array_operations?

Cheers,

Bart

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

 « Return to Thread: Named arrays

LightInTheBox - Buy quality products at wholesale price!