if (this.coordBuffer == null)
return null;
// Compute a bounding box around the vertices in this shape.
this.coordBuffer.rewind();
Box box = Box.computeBoundingBox(new BufferWrapper.FloatBufferWrapper(this.coordBuffer),
ColladaAbstractGeometry.COORDS_PER_VERTEX);
Matrix matrix = this.computeRenderMatrix(dc);
// Compute the corners of the bounding box and transform with the active transform matrix.
List<Vec4> extrema = new ArrayList<Vec4>();
Vec4[] corners = box.getCorners();
for (Vec4 corner : corners)
{
extrema.add(corner.transformBy4(matrix));
}