add-density   xtlang


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

Implementation

(bind-func add-density
  (lambda (x:i64 y:i64 z:i64 amount:double)
    (let ((cube (get-fluid-cube)))
      (fluid-cube-add-density cube x y z amount))))


Back to Index

Similar Entries

  • add-density-1    xtlang
  • add-density-2    xtlang
  • add-density-v    xtlang
  • add-density-xy    xtlang
  • fluid-cube-add-density    xtlang
  • fluid-cube-add-density    xtlang