Posted
over 9 years
ago
When I try to realloc (resize my buffer) with a new size, the JVM is crashing at [code]j org.lwjgl.system.JNI.invokePPP(JJJ)J+0j org.lwjgl.system.jemalloc.JEmalloc.nje_realloc(JJ)J+12j org.lwjgl.system.jemalloc.JEmalloc.je_realloc(Ljava/nio/Byte...
|
Posted
over 9 years
ago
Quote from: EnergyRay on Today at 16:52:44Finding uses in the JRE started to interest me personally, and not being entirely familiar with many parts of the standard library (and especially any internals), I decided to se...
|
Posted
over 9 years
ago
Quote from: spasi on Today at 12:34:00I haven't looked for examples in the JDK because, well, I'd be familiar with those already. I'm mainly looking for input from people that have used factories in other libraries and/...
|
Posted
over 9 years
ago
I haven't looked for examples in the JDK because, well, I'd be familiar with those already. I'm mainly looking for input from people that have used factories in other libraries and/or languages. Especially libraries that have gone through the Java 8 tr...
|
Posted
over 9 years
ago
change the clear color to white to see if you can see any sign of the object in the background. If you see the outline of a shape then you know its a color issue, else it must be a vertex data issue.
|
Posted
over 9 years
ago
To start of, both the "by" and "of" are fine, but I would argue that "of" is slightly better.Firstly, I think some implementation details (e.g. delegation) are obvious enough to not need any mentions or, if significant or important, are mentioned in t...
|
Posted
over 9 years
ago
Much appreciated!
|
Posted
over 9 years
ago
Quote from: EnergyRay on September 08, 2015, 15:12:06Firstly, the second example is a bit ambiguous and confusing looking at a quick glance, especially to someone new to Java, not to mention the loss in code-readability due to the ...
|
Posted
over 9 years
ago
Lets move the discussion here.
|
Posted
over 9 years
ago
I also went with the Cornix's option, and wrote a completely object oriented wrapper on the glfw calls for the entire GLFW api. I think you can make use of the window class and the callback interfaces from that.https://github.com/sriharshachilakapati/...
|