planeDistance.js 326 B

12345678
  1. //This file is automatically rebuilt by the Cesium build process.
  2. export default "float czm_planeDistance(vec4 plane, vec3 point) {\n\
  3. return (dot(plane.xyz, point) + plane.w);\n\
  4. }\n\
  5. float czm_planeDistance(vec3 planeNormal, float planeDistance, vec3 point) {\n\
  6. return (dot(planeNormal, point) + planeDistance);\n\
  7. }\n\
  8. ";