dwmkerr / sharpgl

Use OpenGL in .NET applications. SharpGL wraps all modern OpenGL features and offers a powerful scene graph to aid development.
MIT License
756 stars 299 forks source link

Transformation for Polygon and Quadrics should be more generic #50

Open robinsedlaczek opened 9 years ago

robinsedlaczek commented 9 years ago

When using polygon objects and quadric objects in an application I like to handle transformation more generic. Currently, there is a Transformation-property in both base classes: Quadric and Polygon. If I want to transform those objects, I have to differentiate between those in code. The Transformation-property should be in the common base class SceneElement, so it does not matter if I handle a polygon or quadric in my code.

Is there any reason why the Quadric-class does not have a setter for the Transformation-property?