- data[0] = 1;
- data[1] = c;
-}
-
-VertexFormat::VertexFormat(const VertexFormat &f):
- data(0)
-{
- *this = f;
-}
-
-VertexFormat &VertexFormat::operator=(const VertexFormat &f)
-{
- delete[] data;
- if(f.data)
- {
- data = new unsigned char[(f.data[0]&~7)+8];
- copy(f.data, f.data+f.data[0]+1, data);
- }
- else
- data = 0;
-
- return *this;
-}
-
-VertexFormat::~VertexFormat()
-{
- delete[] data;