Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

glsl-out-of-range

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glsl-out-of-range - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc