setFlipSided method

void setFlipSided(
  1. bool flipSided
)

Implementation

void setFlipSided(bool flipSided) {
  if (currentFlipSided != flipSided) {
    if (flipSided) {
      gl.frontFace(WebGL.CW);
    }
    else {
      gl.frontFace(WebGL.CCW);
    }

    currentFlipSided = flipSided;
  }
}