Sha256: 9863545e23e9e1cb6771c65db4cc4ae0cd9a02e26ae6e30b068dcd2888c5ac1b

Contents?: true

Size: 303 Bytes

Versions: 21

Compression:

Stored size: 303 Bytes

Contents

# 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

21 entries across 21 versions & 1 rubygems

Version Path
tracksperanto-2.1.1 lib/middleware/golden.rb