invert_matrix   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm

Implementation

(bind-func invert_matrix
  (lambda (mat:float*)
    (let ((mat2:float* (salloc 16)))
      (minverse mat 4 mat2)
      (memcpy (cast mat i8*) (cast mat2 i8*) (* 16 4))
      void)))


Back to Index

Similar Entries

  • ai_matrix4_to_float    xtlang
  • analogue_get_mod_matrix    xtlang
  • analogue_set_mod_matrix    xtlang
  • cerberus_get_mod_matrix    xtlang
  • cerberus_matrix_cc    xtlang
  • cerberus_set_mod_matrix    xtlang
  • fill_identity_matrix    xtlang
  • fill_identity_matrix    xtlang
  • fill_orthographic_matrix    xtlang
  • fill_orthographic_matrix    xtlang
  • fill_pos_scale_matrix    xtlang
  • fill_projection_matrix    xtlang
  • fill_projection_matrix    xtlang
  • fill_projection_matrix    xtlang
  • fill_view_matrix    xtlang
  • fill_view_matrix    xtlang
  • fill_view_matrix_dir    xtlang
  • fill_view_matrix_dir    xtlang
  • get_mod_matrix    xtlang
  • invert    xtlang
  • invert-frag    scheme
  • ivl:invert    scheme
  • matrix_cc    xtlang
  • pc:invert    scheme
  • reset_view_matrix    xtlang
  • rotate_matrix    xtlang
  • rotate_matrix    xtlang
  • scale_matrix    xtlang
  • scale_matrix    xtlang
  • set_mod_matrix    xtlang
  • shader_update_uvwmatrix    xtlang
  • translate_matrix    xtlang
  • translate_matrix    xtlang