make-textured-quad-vertices ( loc dim -- float-array )


Vocabulary
ui.render

Inputs
locan object
diman object


Outputs
float-arrayan object


Definition


:: make-textured-quad-vertices ( loc dim -- float-array )
loc first :> x1 loc second :> y1 x1 dim first +
:> x2 y1 dim second + :> y2 [
x1 y1 0.0 0.0 x2 y1 1.0 0.0 x2 y2 1.0 1.0 x1 y1 0.0 0.0
x2 y2 1.0 1.0 x1 y2 0.0 1.0
] float-array{ } output>sequence ;