I just switched to the nightly buildsof the JSR-231and am having to change my code to match. Is anyone having problems with FloatBuffer? I’m able to use IntBuffer like this …
import com.sun.opengl.utils.BufferUtils;
import java.nio.IntBuffer;
import java.nio.FloatBuffer;
import java.nio.ShortBuffer;
IntBuffer viewPort = BufferUtils.newIntBuffer(4);
… but if I try the same with ShortBuffer, FloatBuffer, or LongBuffer, they cant be found and I’ve been triple checking my paths for anything that might be wrong with BufferUtils.
myfile.java:206: cannot find symbol
[javac] symbol : class newFloatBuffer
[javac] location: class com.sun.opengl.utils.BufferUtils
[javac] FloatBuffer transf = new BufferUtils.newFloatBuffer(16);
Sorry if I’m just not seeing it today.