[CLOSED] DisplayMode Constructor

Started by l3eta, May 14, 2012, 00:23:29

Previous topic - Next topic

l3eta

EDIT: I forgot what I was actually trying to do, Just remembered so I fixed the code and title

Mainly because I like to work with Dimensions instead of doing w, h when I define something.
public DisplayMode(Dimension size) {
    this(size.width, size.height);
}


Pretty simple, Just a little thought :)

kappa

Don't think adding an OO api to LWJGL's static API is consistent. LWJGL provides just the most basic API, boilerplate API sugar should go in the framework that sits on top of LWJGL.