Batch.cube

Creates a batch with a centered cube with 3 radiuses (not dimensions) and offset.

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

Meta