Blender Git Loki

Git Commits -> Revision 06c25ac

Revision 06c25ac by Sybren A. Stüvel (master)
April 6, 2017, 14:04 (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: 06c25ace7b4dc65128004b9ed6839c38aa33c054
Parent Commit: 1c3b6e0
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