# File lib/rubygame/ftor.rb, line 247
        def magnitude
                @magnitude or @magnitude = Math.hypot(@x,@y)
        end