diff options
author | Richard Antalik <richardantalik@gmail.com> | 2021-10-16 00:02:08 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2021-10-16 00:20:45 +0300 |
commit | e11b33fec33392640e74b9f180572fc0a504287e (patch) | |
tree | fc5528eeac6e5239b6f48e01ec7db2ba07665db0 /source/blender/imbuf/IMB_imbuf.h | |
parent | 81514b0e913b03ab7fb6aa779d23a1d651ad82b7 (diff) |
Remove math for 2D affine transform
Commit e1665c3d3190 added math to do 2D affine transformations with 3x3
matrices, but these matrices are also used for 3D transformations.
Remove added functions and use 4x4 matrices for 2D transformation.
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D12510
Diffstat (limited to 'source/blender/imbuf/IMB_imbuf.h')
-rw-r--r-- | source/blender/imbuf/IMB_imbuf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/IMB_imbuf.h b/source/blender/imbuf/IMB_imbuf.h index dd8e6549e24..7bfd1074ac6 100644 --- a/source/blender/imbuf/IMB_imbuf.h +++ b/source/blender/imbuf/IMB_imbuf.h @@ -758,7 +758,7 @@ void IMB_processor_apply_threaded_scanlines(int total_scanlines, void IMB_transform(struct ImBuf *src, struct ImBuf *dst, - float transform_matrix[3][3], + float transform_matrix[4][4], struct rctf *src_crop, const eIMBInterpolationFilterMode filter); |