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