glsl-out-of-range
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "glsl-out-of-range", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Functions to test if a point is outside ranges, namely useful for 3D/2D scenes that may have reversed bounds", | ||
@@ -21,3 +21,3 @@ "main": "index.js", | ||
"3d scene", | ||
"2d scene", | ||
"2d scene", | ||
"webgl", | ||
@@ -24,0 +24,0 @@ "glsl", |
@@ -23,3 +23,3 @@ # glsl-out-of-range | ||
void main() { | ||
if outOfRange(bounds[0], bounds[1], position) discard; | ||
if (outOfRange(bounds[0], bounds[1], position)) discard; | ||
@@ -26,0 +26,0 @@ gl_FragColor = vec4(1.0, 0.5, 0.25, 1.0); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3499