shorthand initializer.
shorthand initializer
2682 2683 2684 2685 2686 2687
# File 'lib/imgui.rb', line 2682 def ImVec2.create(x = 0, y = 0) instance = ImVec2.new instance[:x] = x instance[:y] = y return instance end