Class: ImVec2
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- ImVec2
- Defined in:
- lib/imgui.rb
Class Method Summary collapse
-
.create(x = 0, y = 0) ⇒ Object
shorthand initializer.
Class Method Details
.create(x = 0, y = 0) ⇒ Object
shorthand initializer
1867 1868 1869 1870 1871 1872 |
# File 'lib/imgui.rb', line 1867 def ImVec2.create(x = 0, y = 0) instance = ImVec2.new instance[:x] = x instance[:y] = y return instance end |