scale_matrix   xtlang


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

Implementation

(bind-func scale_matrix
  (lambda (mat:float* x:float y:float z:float)
    (let ((mat2:float* (salloc 32))
          (mat3:float* (pref-ptr mat2 16)))
      (pfill! mat2
              x     0.0   0.0   0.0
              0.0   y     0.0   0.0
              0.0   0.0   z     0.0
              0.0   0.0   0.0   1.0)
      (mmmul mat mat2 mat3)
      (memcpy (cast mat i8*) (cast mat3 i8*) (* 16 4))
      void)))


Back to Index

Similar Entries

  • Vscale    xtlang
  • 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
  • cpTransformAxialScale    xtlang
  • cpTransformBoneScale    xtlang
  • cpTransformScale    xtlang
  • dl_base_frq_scale    xtlang
  • dl_base_frq_scale    xtlang
  • dl_filter1_frq_scale    xtlang
  • dl_filter1_frq_scale    xtlang
  • dl_filter2_frq_scale    xtlang
  • dl_filter2_frq_scale    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-scale-scale    scheme
  • get-scale-stepsize    scheme
  • get_mod_matrix    xtlang
  • greyscale-frag    scheme
  • invert_matrix    xtlang
  • matrix_cc    xtlang
  • pc:chord->scale    scheme
  • pc:scale    scheme
  • pc:scale-from-chord    scheme
  • pc:scale-from-pc    scheme
  • reset_view_matrix    xtlang
  • rotate_matrix    xtlang
  • rotate_matrix    xtlang
  • scale    scheme
  • scale    scheme
  • scale_matrix    xtlang
  • set-scale-x    xtlang
  • set-scale-y    xtlang
  • set_mod_matrix    xtlang
  • shader_update_uvwmatrix    xtlang
  • translate_matrix    xtlang
  • translate_matrix    xtlang
  • xtm_path_scale    xtlang
  • xtm_path_scaled    xtlang
  • xtm_scale_and_draw_vgimage    xtlang
  • xtm_scale_and_draw_vgimaged    xtlang
  • xtm_vgimage_scale    xtlang
  • xtm_vgimage_scaled    xtlang