Polymorphism with Linked Lists
Crossbones+ - Reputation: 2174
Posted 03 November 2011 - 08:00 AM
Members - Reputation: 189
Posted 03 November 2011 - 09:38 AM
This may be a useful exercise to learn polymorphism and inheritance, but I think your are designing your application backwards. You are designing a data structure for 3D models without any use case, but this is one of those cases when the data structure may be really different depending on usage. A 3D model data structure for rendering is very different from a data structure for modeling or geometric computations or ... Indeed, 3D models are usually converted to different formats when converted to game assets. You may soon discover that your design is quite bad in basically every use case of a library of that kind.
I'll gladly post my work on this data structure regardless of failure or success and share my experiences as to what I think went wrong and what went right.