Batch.cube32

Creates a batch with a centered cube with 3 radiuses (not dimensions) and offset where all dimensions are 1/32th (1 pixel in a 32x32 texture).

  1. Batch cube32(Vector!(T, 3) halfSize, Color4ub color, bool fill)
  2. Batch cube32(Vector!(T, 3) halfSize, Color4ub color, bool fill, Vector!(T, 3) offset)
    struct Batch
    static
    cube32
    (
    T
    )
    (
    Vector!(T, 3) halfSize
    ,
    Color4ub color
    ,
    bool fill
    ,
    Vector!(T, 3) offset
    )

Meta