diff options
author | Manuel Castilla <manzanillawork@gmail.com> | 2021-10-15 23:12:25 +0300 |
---|---|---|
committer | Manuel Castilla <manzanillawork@gmail.com> | 2021-10-15 23:23:30 +0300 |
commit | 9b1b1d9269ed3e76faf5c87dc3eff861aa5193dc (patch) | |
tree | 94eacae61e922b738b0493f0e54fdf9bce3e04b5 | |
parent | 5b9a911c4b3c888e80e314a987e34642eb317310 (diff) |
Cleanup: remove unused functions
-rw-r--r-- | source/blender/compositor/operations/COM_SunBeamsOperation.cc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/source/blender/compositor/operations/COM_SunBeamsOperation.cc b/source/blender/compositor/operations/COM_SunBeamsOperation.cc index 38e9599f7e6..ba1363d1193 100644 --- a/source/blender/compositor/operations/COM_SunBeamsOperation.cc +++ b/source/blender/compositor/operations/COM_SunBeamsOperation.cc @@ -64,16 +64,6 @@ template<int fxu, int fxv, int fyu, int fyv> struct BufferLineAccumulator { /* utility functions implementing the matrix transform to/from sector space */ - static inline void buffer_to_sector(const float source[2], int x, int y, int &u, int &v) - { - int x0 = (int)source[0]; - int y0 = (int)source[1]; - x -= x0; - y -= y0; - u = x * fxu + y * fyu; - v = x * fxv + y * fyv; - } - static inline void buffer_to_sector(const float source[2], float x, float y, float &u, float &v) { int x0 = (int)source[0]; @@ -92,14 +82,6 @@ template<int fxu, int fxv, int fyu, int fyv> struct BufferLineAccumulator { y = y0 + u * fyu + v * fyv; } - static inline void sector_to_buffer(const float source[2], float u, float v, float &x, float &y) - { - int x0 = (int)source[0]; - int y0 = (int)source[1]; - x = (float)x0 + u * fxu + v * fxv; - y = (float)y0 + u * fyu + v * fyv; - } - /** * Set up the initial buffer pointer and calculate necessary variables for looping. * |