Alembic: Renamed copy_zup_yup to copy_yup_from_zup (and same for zup_from_yup)
authorSybren A. Stüvel <sybren@stuvel.eu>
Fri, 3 Feb 2017 14:54:59 +0000 (15:54 +0100)
committerSybren A. Stüvel <sybren@stuvel.eu>
Wed, 8 Feb 2017 11:26:36 +0000 (12:26 +0100)
commit82df7100c8d59f99f91056b32c1ce33cc5a68726
tree38ae0d6d77b1d761774501a6585d32c9680db2b9
parent69dbeeca48011810fb353b3ce692ae364568a239
Alembic: Renamed copy_zup_yup to copy_yup_from_zup (and same for zup_from_yup)

With the new names the arguments (yup, zup) are in the same order as
they appear in the function name. The old names used copy_src_dst(dst,
src), which I found very confusing. Furthermore, now it is clear from
where to where the copy is made.

This makes the function names a little bit longer, though. If that is
a real issue, we can just name them zup_from_yup(zup, yup).

Reviewed by: Kévin Dietrich
source/blender/alembic/intern/abc_curves.cc
source/blender/alembic/intern/abc_hair.cc
source/blender/alembic/intern/abc_mesh.cc
source/blender/alembic/intern/abc_nurbs.cc
source/blender/alembic/intern/abc_util.cc
source/blender/alembic/intern/abc_util.h