diff options
Diffstat (limited to 'rotord/src')
| -rw-r--r-- | rotord/src/nodes_transform.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rotord/src/nodes_transform.h b/rotord/src/nodes_transform.h index cced1b0..f60a566 100644 --- a/rotord/src/nodes_transform.h +++ b/rotord/src/nodes_transform.h @@ -70,9 +70,9 @@ namespace Rotor { //using mipmaps: cv::Mat inter; - int level=(int)pow(2, ceil(log(1.0f/(s*((float)in.w/(float)image.w)))/log(2))); - + //int level=(int)ceil(log(1.0f/(s*((float)in.w/(float)image.w)))/log(2)); + //if (s<1){ // if (s<.01) s=.01; // float scalefac=((float)image.w/in->w)*s; |
