fluid-cube-get-last-row   xtlang


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

Implementation

;; row get helpers
(bind-func fluid-cube-get-last-row
  (lambda (cube:fluidcube* type)
    (let ((xN (tref cube 0))
    (yN (tref cube 10)))
      (fluid-cube-get-row cube type (* xN (- yN 2))))))


Back to Index