Add for batch-drawing unconnected lines

Issue #1187 resolved
created an issue

This would work just like, except it would take an arbitrary number of coordinate-pair-pairs. It should also have an alternate form that takes a table (sequence) of values instead of varargs, in keeping with other parts of the API.

Comments (9)

  1. Alex Szpakowski

    A hypothetical line batch should be able to do both: each add call would add a series of connected lines, and they wouldn't be connected to lines added with previous add calls.

    Implementing is probably a lot easier than implementing a line batch though.

  2. Alex Szpakowski

    commit fbcbffe adds automatic batching where possible for several things including lines. Is this enough for your purposes, or would a dedicated function still be useful to you? (And if so, why?)

  3. airstruck reporter

    Sorry for the late reply, haven't looked at issue tracker in a while. Auto batching looks pretty awesome, will check it out. I can't think of any case offhand where manual batching would be preferable to auto batching.

  4. Log in to comment