public override void readFloatArray(MFloatArray array, uint size) { Trace.Assert(myCurrentChanelNode != null); XmlNode floatArrayNode = myCurrentChanelNode.SelectSingleNode(floatArrayTag); XmlNodeList valueNodeList = floatArrayNode.SelectNodes("value"); array.clear(); array.length = size; foreach (XmlNode valueNode in valueNodeList) { double value = Convert.ToDouble(valueNode.InnerText); array.append((float)value); } return; }
public void reset() { ucoord.clear(); vcoord.clear(); faceVertexIndex.clear(); }