OEMakeBoxSurfaceΒΆ

bool OEMakeBoxSurface(OESurface &surf, const float *center,
                      const float *extents)

Creates a box in surf located at center and extending extents in each dimension. Each of the six faces of the box will be composed of two triangles.