Hello Guest

[CLOSED] DisplayMode Constructor

  • 1 Replies
  • 3323 Views
[CLOSED] DisplayMode Constructor
« on: May 14, 2012, 00:23:29 »
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.
Code: [Select]
public DisplayMode(Dimension size) {
    this(size.width, size.height);
}

Pretty simple, Just a little thought :)
« Last Edit: May 14, 2012, 01:32:49 by l3eta »

*

Offline kappa

  • *****
  • 1316
Re: [RFE] DisplayMode Constructor
« Reply #1 on: May 29, 2012, 09:59:33 »
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.
« Last Edit: May 29, 2012, 10:03:05 by kappa »