diff options
| author | Comment <tim@gray.(none)> | 2013-10-08 07:41:30 -0700 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-10-08 07:41:30 -0700 |
| commit | 7be6faa27288131066295e2696463a0bf639cf58 (patch) | |
| tree | c624d9bbdeff18b5ab2c820cbd2a18521b237ac1 /rotord/src/nodes_transform.h | |
| parent | ba2831c3a456e860761978cb848f38d825b4c128 (diff) | |
fix error in transform
Diffstat (limited to 'rotord/src/nodes_transform.h')
| -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; |
