Gabor;<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
does this sound the right way to do this? or does it awfully break the concept of immediate mode primitives? comments are welcome.<br>
<br></blockquote><div><br></div><div>What I tried to do before (but I got confused by the (hint-unlit) issue for line colours) was to instance a line of length 1 in the x direction, then use (draw-instance) on that using a function that would set local scale, rotation, etc. This would avoid building and destroying instances, which my git-feeling says is expensive. I'm not sure that actually is more expensive than calculating the proper rotation, scale and so on.</div>
<div><br></div><div>I'm not sure how relevant this is as I got stuck, but your mail hints at something like this. I am, however, sure that merely scaling won't solve the questions around a hypothetical (build-polygon) so a more structural solution might be needed anyway.</div>
<div><br></div><div>Yours,</div><div>Kas.</div></div>