h3d_object_size   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/examples/contrib/bullet.xtm

Implementation

(bind-func h3d_object_size
  (lambda (idx:i32)
    (let ((sizes:float* (halloc 6))
    (results:float* (halloc 3)))
      (h3dGetNodeAABB (pref _objects idx)
          (pref-ptr sizes 0) (pref-ptr sizes 1) (pref-ptr sizes 2)
          (pref-ptr sizes 3) (pref-ptr sizes 4) (pref-ptr sizes 5))
      (pset! results 0 (- (pref sizes 3) (pref sizes 0)))
      (pset! results 1 (- (pref sizes 4) (pref sizes 1)))
      (pset! results 2 (- (pref sizes 5) (pref sizes 2)))
      results)))


Back to Index

Similar Entries

  • PARAM_REVERB_SIZE    scheme
  • PARAM_REVERB_SIZE    scheme
  • PARAM_REVERB_SIZE    scheme
  • QRcode_size    xtlang
  • VBO_size    xtlang
  • biSize    xtlang
  • biSizeImage    xtlang
  • bind-object    macro
  • bindfunc_with_zone_size    xtlang
  • bindfunc_with_zone_size_and_docstring    xtlang
  • call_object    xtlang
  • file_size    xtlang
  • get-scale-stepsize    scheme
  • get-var-em-size    scheme
  • gobject_alloc    xtlang
  • gobject_halloc    xtlang
  • gobject_zalloc    xtlang
  • godot_array_size    xtlang
  • godot_variant_as_object    xtlang
  • gui_window_size_callback    xtlang
  • h3d_init    xtlang
  • h3d_init    xtlang
  • h3d_object_pos    xtlang
  • iffchunk_size    xtlang
  • impc:compiler:print-needs-zone-size-error    scheme
  • impc:ir:check-type-size-calculations    scheme
  • impc:ir:compiler:heap-alloc-with-size    scheme
  • impc:ir:compiler:heap-alloc-without-size    scheme
  • impc:ir:compiler:obj-size    scheme
  • impc:ir:compiler:stack-alloc-with-size    scheme
  • impc:ir:compiler:stack-alloc-without-size    scheme
  • impc:ir:compiler:zone-alloc-with-size    scheme
  • impc:ir:compiler:zone-alloc-without-size    scheme
  • impc:ir:get-tuple-type-size    scheme
  • impc:ir:get-type-size    scheme
  • impc:ir:objectsize-intrinsic    scheme
  • impc:ti:get-closure-zone-size    scheme
  • impc:ti:obj-size-check    scheme
  • impc:ti:set-closure-zone-size    scheme
  • json_object_p    xtlang
  • json_object_print_keys    xtlang
  • ocv_resize    xtlang
  • ocv_resize    xtlang
  • ocv_resize    scheme
  • ocv_resize1    xtlang
  • ocv_resize2    xtlang
  • ocv_scheme_isopen_object    xtlang
  • ocv_scheme_release_object    xtlang
  • ocv_size    xtlang
  • psystem_size    xtlang
  • psystem_sizes    xtlang
  • resize    xtlang
  • resize    xtlang
  • size    xtlang
  • size    xtlang
  • t:closure-size?    scheme
  • world_data_size    xtlang