Jump to content
Posted 03 November 2011 - 08:00 AM
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.