Sha256: dbf392b8050db3cb5a23d627f1709590d466a1ae42cf19c6c41340a37564a251
Contents?: true
Size: 366 Bytes
Versions: 1
Compression:
Stored size: 366 Bytes
Contents
# Flips the comp being exported vertically class Tracksperanto::Middleware::Flop < Tracksperanto::Middleware::Base attr_accessor :enabled def start_export(w, h) @w, @h = w, h super end def export_point(frame, float_x, float_y, float_residual) y = @enabled ? (@h - float_y) : float_y super(frame, float_x, y, float_residual) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tracksperanto-2.0.1 | lib/middleware/flop.rb |