Would it be useful if each primitive type know how many indices it needed per element?  Then you would write code like `indicesPerPrimitive = geometry.primitiveType.numberOfIndices` and the values would just be hardcoded in `PrimitiveType.js`