Class: Box2D::AABB
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Box2D::AABB
- Defined in:
- lib/box2d_math_functions.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.create_as(_lowerBound_, _upperBound_) ⇒ Object
116 117 118 119 120 121 |
# File 'lib/box2d_math_functions.rb', line 116 def self.create_as(_lowerBound_, _upperBound_) instance = AABB.new instance[:lowerBound] = _lowerBound_ instance[:upperBound] = _upperBound_ instance end |
Instance Method Details
#lowerBound ⇒ Object
112 |
# File 'lib/box2d_math_functions.rb', line 112 def lowerBound = self[:lowerBound] |
#lowerBound=(v) ⇒ Object
113 |
# File 'lib/box2d_math_functions.rb', line 113 def lowerBound=(v) self[:lowerBound] = v end |
#upperBound ⇒ Object
114 |
# File 'lib/box2d_math_functions.rb', line 114 def upperBound = self[:upperBound] |
#upperBound=(v) ⇒ Object
115 |
# File 'lib/box2d_math_functions.rb', line 115 def upperBound=(v) self[:upperBound] = v end |