Method: Mittsu::Matrix4#from_array
- Defined in:
- lib/mittsu/math/matrix4.rb
#from_array(array) ⇒ Object
563 564 565 566 |
# File 'lib/mittsu/math/matrix4.rb', line 563 def from_array(array) self.elements[0..array.length] = array self end |