Example #1
0
		private void ParseModelBlockGLUVs(BinaryParser parser, Model model, uint name, uint size, uint numItems, ushort flags)
		{
			var streamMesh = (model.Meshes[0]);
			int num = (int)numItems;
			streamMesh.UV0.Clear();
			streamMesh.UV0.Capacity = num;
			for (int i = 0; i < num; ++i)
			{
				streamMesh.UV0.Add(parser.ConsumeVector2());
			}
		}