New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ogl

Package Overview
Dependencies
Maintainers
1
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ogl - npm Package Compare versions

Comparing version 0.0.19 to 0.0.20

2

package.json
{
"name": "ogl",
"version": "0.0.19",
"version": "0.0.20",
"description": "WebGL Framework",

@@ -5,0 +5,0 @@ "main": "src",

@@ -252,3 +252,3 @@ <p align="center">

- [x] Projection and Raycasting
- [ ] Mouse Flowmap
- [x] Mouse Flowmap

@@ -270,2 +270,3 @@ ### Shading

- [x] Render to texture
- [x] Post FXAA (Fast Approximate Anti-Aliasing)
- [ ] MRT (Multiple Render Targets)

@@ -282,2 +283,5 @@ - [ ] Reflections

### Stencil
- [ ] Stencil Shadows and Mirror
- [ ] Stencil Shadows and Mirror
### Performance
- [x] High mesh count

@@ -18,3 +18,3 @@ // TODO: Destroy render targets if size changed and exists

geometry = new Geometry(gl, {
position: {size: 3, data: new Float32Array([-1, -1, 0, 3, -1, 0, -1, 3, 0])},
position: {size: 2, data: new Float32Array([-1, -1, 3, -1, -1, 3])},
uv: {size: 2, data: new Float32Array([0, 0, 2, 0, 0, 2])},

@@ -117,22 +117,22 @@ }),

const defaultVertex = `
attribute vec2 uv;
attribute vec3 position;
attribute vec2 uv;
attribute vec2 position;
varying vec2 vUv;
varying vec2 vUv;
void main() {
vUv = uv;
gl_Position = vec4(position, 1.0);
}
void main() {
vUv = uv;
gl_Position = vec4(position, 0, 1);
}
`;
const defaultFragment = `
precision highp float;
precision highp float;
uniform sampler2D tMap;
varying vec2 vUv;
uniform sampler2D tMap;
varying vec2 vUv;
void main() {
gl_FragColor = texture2D(tMap, vUv);
}
void main() {
gl_FragColor = texture2D(tMap, vUv);
}
`;

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