Fix SDK.rb

Fix precise_in?(x, y) : manage angle and origin