Sha256: f4e1b488b832bce45f0a2aaf8887b9b14924a723f0118e11cb5112b6e5836fa4

Contents?: true

Size: 331 Bytes

Versions: 6

Compression:

Stored size: 331 Bytes

Contents

# -*- encoding : utf-8 -*-
# This middleware marks all trackers as being 100% accurate
class Tracksperanto::Middleware::Golden < Tracksperanto::Middleware::Base
  attr_accessor :enabled
  
  def export_point(frame, float_x, float_y, float_residual)
    super(frame, float_x, float_y, (enabled ? 0.0 : float_residual))
  end
  
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tracksperanto-2.9.5 lib/middleware/golden.rb
tracksperanto-2.9.4 lib/middleware/golden.rb
tracksperanto-2.9.3 lib/middleware/golden.rb
tracksperanto-2.9.2 lib/middleware/golden.rb
tracksperanto-2.9.1 lib/middleware/golden.rb
tracksperanto-2.9.0 lib/middleware/golden.rb