Home Reference Source Repository

js/SceneKit/SCNMatrix4Invert.js

  1. 'use strict'
  2.  
  3. //import SCNMatrix4 from './SCNMatrix4'
  4.  
  5. /**
  6. * Returns the inverse of the specified matrix.
  7. * @access public
  8. * @param {SCNMatrix4} m -
  9. * @returns {SCNMatrix4} -
  10. * @see https://developer.apple.com/documentation/scenekit/1409682-scnmatrix4invert
  11. */
  12. const SCNMatrix4Invert = function(m) {
  13. return m.invert()
  14. }
  15.  
  16. export default SCNMatrix4Invert