All files / engine/Source/Shaders/Builtin/Functions backFacing.js

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16                               
//This file is automatically rebuilt by the Cesium build process.
export default "/**\n\
 * Determines if the fragment is back facing\n\
 *\n\
 * @name czm_backFacing\n\
 * @glslFunction \n\
 * \n\
 * @returns {bool} <code>true</code> if the fragment is back facing; otherwise, <code>false</code>.\n\
 */\n\
bool czm_backFacing()\n\
{\n\
    // !gl_FrontFacing doesn't work as expected on Mac/Intel so use the more verbose form instead. See https://github.com/CesiumGS/cesium/pull/8494.\n\
    return gl_FrontFacing == false;\n\
}\n\
";