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    /digego/extempore/tree/v0.8.9/libs/contrib/gsl.xtm
  • ai_matrix4_to_float    xtlang    /digego/extempore/tree/v0.8.9/libs/external/assimp.xtm
  • analogue_get_mod_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/instrument_params.xtm
  • analogue_set_mod_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/instrument_params.xtm
  • cerberus_get_mod_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/instrument_params.xtm
  • cerberus_matrix_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus_midi.xtm
  • cerberus_set_mod_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/instrument_params.xtm
  • cpTransformAxialScale    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpTransform.xtm
  • cpTransformBoneScale    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpTransform.xtm
  • cpTransformScale    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpTransform.xtm
  • dl_base_frq_scale    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_base_frq_scale    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_filter1_frq_scale    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_filter1_frq_scale    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_filter2_frq_scale    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_filter2_frq_scale    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • fill_identity_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • fill_identity_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • fill_orthographic_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • fill_orthographic_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • fill_pos_scale_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • fill_projection_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • fill_projection_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • fill_projection_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • fill_view_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • fill_view_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • fill_view_matrix_dir    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • fill_view_matrix_dir    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • get-scale-scale    scheme    /digego/extempore/tree/v0.8.9/libs/core/pattern-language.xtm
  • get-scale-stepsize    scheme    /digego/extempore/tree/v0.8.9/libs/core/pattern-language.xtm
  • get_mod_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/instrument_params.xtm
  • greyscale-frag    scheme    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline-scm.xtm
  • invert_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • matrix_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.xtm
  • pc:chord->scale    scheme    /digego/extempore/tree/v0.8.9/libs/core/pc_ivl.xtm
  • pc:scale    scheme    /digego/extempore/tree/v0.8.9/libs/core/pc_ivl.xtm
  • pc:scale-from-chord    scheme    /digego/extempore/tree/v0.8.9/libs/core/pc_ivl.xtm
  • pc:scale-from-pc    scheme    /digego/extempore/tree/v0.8.9/libs/core/pc_ivl.xtm
  • reset_view_matrix    xtlang    /digego/extempore/tree/v0.8.9/examples/external/shader-tutorials/triangle.xtm
  • rotate_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • rotate_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • scale    scheme    /digego/extempore/tree/v0.8.9/libs/core/pattern-language.xtm
  • scale    scheme    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • scale_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • set-scale-x    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/kinect_fire.xtm
  • set-scale-y    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/kinect_fire.xtm
  • set_mod_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/instrument_params.xtm
  • shader_update_uvwmatrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • translate_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • translate_matrix    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • xtm_path_scale    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_path_scaled    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_scale_and_draw_vgimage    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_scale_and_draw_vgimaged    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_vgimage_scale    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_vgimage_scaled    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm