On Wednesday, 23 December 2015 at 20:52:05 UTC, Adam D. Ruppe
wrote:
On Wednesday, 23 December 2015 at 20:49:21 UTC, Taylor
Hillegeist wrote:
| GRAPICS LIB |
+---+---+-------+ <----- what is this interface
|SDL|GDI|OPENGL.|
+---+---+-------+
SDL, GDI, and OpenGL *are* graphics libs so it seems a bit
silly to put an interface there.
yes silly, more specially as
- some of them are 2D with FP coordinates
- some of them are 2D with integral coordinates
- some of them are 2D with integral coordinates with
transformation of the plan
- some of them are 2D with integral coordinates without
transformation of the plan
- some of them are 3D FP float coordinates with transformation of
the plan
- some of them are in DirectMode, some of them not.
- etc...
So this would result in 5 or 6 templatized (because of the coord
type) interface.
IIRC Interfaces are not devirtualizables so that they can be
extracted...
also to put SDL and OPENGL on the same level is a bit strange.