Ejemplo n.º 1
0
 public ClipStateRecord(final ContextCapabilities caps) {
   planeEnabled = new boolean[ClipState.MAX_CLIP_PLANES];
   if (caps.areDoubleCoefficientsInClipPlaneEquationSupported()) {
     buf = BufferUtils.createDoubleBuffer(4);
   } else {
     buf = BufferUtils.createFloatBuffer(4);
   }
 }