setFlipSided method

dynamic setFlipSided(
  1. bool flipSided
)

Implementation

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

    currentFlipSided = flipSided;
  }
}