com.sun.opengl.cg.* : UnUSuAL NAmiNg CoNvEnTioN

Hello,

Someone could explain me why thoses classes don’t follow the Java naming convention ?

For info, here are the names :
import com.sun.opengl.cg.CGcontext;
import com.sun.opengl.cg.CGparameter;
import com.sun.opengl.cg.CGprogram;
import com.sun.opengl.cg.CgGL;

  1. I expected to have a CGProgram, CGContext, etc …
  2. The case is not consistent between the classes, the g in CgGL is lower case but in the other classes it is upper case.

Will those weird lower/upper cases still be there in the release version of the JSR 231 ? :o ???

These follow the naming convention of the Cg data types. We aren’t planning to diverge from the Cg specification here.

Note that these classes are not part of the official JSR-231 specification, but are a separate add-on package. As such they could potentially change after JSR-231 is released.