summaryrefslogtreecommitdiff
path: root/rotord/src/nodes_transform.h
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2013-10-08 07:41:30 -0700
committerComment <tim@gray.(none)>2013-10-08 07:41:30 -0700
commit7be6faa27288131066295e2696463a0bf639cf58 (patch)
treec624d9bbdeff18b5ab2c820cbd2a18521b237ac1 /rotord/src/nodes_transform.h
parentba2831c3a456e860761978cb848f38d825b4c128 (diff)
fix error in transform
Diffstat (limited to 'rotord/src/nodes_transform.h')
-rw-r--r--rotord/src/nodes_transform.h4
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;