Method: Mittsu::Matrix4#copy_position
- Defined in:
- lib/mittsu/math/matrix4.rb
#copy_position(m) ⇒ Object
42 43 44 45 46 47 48 49 |
# File 'lib/mittsu/math/matrix4.rb', line 42 def copy_position(m) te = self.elements me = m.elements te[12] = me[12] te[13] = me[13] te[14] = me[14] self end |