lib/middleware/scaler.rb in tracksperanto-2.8.6 vs lib/middleware/scaler.rb in tracksperanto-2.9.0
- old
+ new
@@ -1,5 +1,6 @@
+# -*- encoding : utf-8 -*-
# Scales the comp being exported by a specific factor, together with the tracker keyframes
class Tracksperanto::Middleware::Scaler < Tracksperanto::Middleware::Base
DEFAULT_FACTOR = 1
attr_accessor :x_factor, :y_factor
@@ -32,6 +33,6 @@
private
def set_residual_factor
@residual_factor = Math.sqrt((x_factor ** 2) + (y_factor ** 2))
end
-end
\ No newline at end of file
+end