LWJGL
May 19, 2013, 12:22:11
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
LWJGL is now using GitHub
Home
Help
Search
Login
Register
LWJGL
>
Archive
>
Resolved Bugs/RFE
>
[CLOSED] DisplayMode Constructor
Pages: [
1
]
« previous
next »
Print
Author
Topic: [CLOSED] DisplayMode Constructor (Read 932 times)
l3eta
Newbie
Posts: 5
[CLOSED] DisplayMode Constructor
«
on:
May 13, 2012, 17: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:
public DisplayMode(Dimension size) {
this(size.width, size.height);
}
Pretty simple, Just a little thought
Logged
kappa
Administrator
Nerdus Imperius
Posts: 1111
Re: [RFE] DisplayMode Constructor
«
Reply #1 on:
May 29, 2012, 02: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.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Programming
-----------------------------
=> Lightweight Java Library Game Development
=> LWJGL Documentation
=> Bug Reports / RFE
=> OpenGL
=> OpenAL
=> General Java Game Development
-----------------------------
Archive
-----------------------------
=> Resolved Bugs/RFE
=> DirectX
=> DevIL
=> FMOD
Loading...