15832144755
2022-01-06 7b4c8991dca9cf2a809a95e239d144697d3afb56
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import WebGLConstants from "../Core/WebGLConstants.js";
 
/**
 * Determines which triangles, if any, are culled.
 *
 * @enum {Number}
 */
var CullFace = {
  /**
   * Front-facing triangles are culled.
   *
   * @type {Number}
   * @constant
   */
  FRONT: WebGLConstants.FRONT,
 
  /**
   * Back-facing triangles are culled.
   *
   * @type {Number}
   * @constant
   */
  BACK: WebGLConstants.BACK,
 
  /**
   * Both front-facing and back-facing triangles are culled.
   *
   * @type {Number}
   * @constant
   */
  FRONT_AND_BACK: WebGLConstants.FRONT_AND_BACK,
};
export default Object.freeze(CullFace);