SceneElement
176177178179180181182183184185186
public void endGroup() { if (groups != null) { int fi = geometry.getNumPrimitives(); if (groupOffset >= 0) { groups.put(groupName, new RangeSceneElement(groupOffset, fi - groupOffset, result)); } groupOffset = -1; groupName = ""; } }
187188189190191192193194195196197
public void beginGroup(String name) { if (groups != null) { int fi = geometry.getNumPrimitives(); if (groupOffset >= 0) { groups.put(groupName, new RangeSceneElement(groupOffset, fi - groupOffset, result)); } groupOffset = fi; groupName = name; } }