Blender Git Loki

Git Commits -> Revision 7017a5f

Revision 7017a5f by Sybren A. Stüvel
February 24, 2017, 15:35 (GMT)
Alembic: removed a lot of unnecessary & duplicate code from abc_util.cc

create_transform_matrix(float[4][4]) did mostly the same as
create_transform_matrix(Object *, float[4][4]), but more elegant.
However, the former has some inconsistencies with the latter (which
are now merged and made explicit, turned out one was for z-up?y-up
while the other was for y-up?z-up), and was renamed to
copy_m44_axis_swap(...) to convey its purpose more clearly.

Furthermore, "loc" has been renamed to "trans", as matrices don't
store locations but translations; and more variables now have a src_
or dst_ prefix to denote whether they contain a matrix/vector in the
source or destination axis orientation.

Commit Details:

Full Hash: 7017a5fd30e7d47a1eaf34dc7716013421a8f70e
Parent Commit: 947faf3
Lines Changed: +68, -216

2 Modified Paths:

/source/blender/alembic/intern/abc_util.cc (+59, -215) (Diff)
/source/blender/alembic/intern/abc_util.h (+9, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021