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