regl-worldview
Advanced tools
Comparing version 0.13.0 to 0.13.1
{ | ||
"name": "regl-worldview", | ||
"version": "0.13.0", | ||
"version": "0.13.1", | ||
"description": "A reusable component for rendering 2D and 3D views using regl", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -21,2 +21,3 @@ // @flow | ||
import { createInstancedGetChildrenForHitmap } from "../utils/getChildrenForHitmapDefaults"; | ||
import withRenderStateOverrides from "../utils/withRenderStateOverrides"; | ||
import Command, { type CommonCommandProps } from "./Command"; | ||
@@ -148,4 +149,4 @@ | ||
const triangles = (regl: Regl) => { | ||
const single = regl(singleColor(regl)); | ||
const vertex = regl(vertexColors(regl)); | ||
const single = withRenderStateOverrides(singleColor)(regl); | ||
const vertex = withRenderStateOverrides(vertexColors)(regl); | ||
return (props: any, isHitmap: boolean) => { | ||
@@ -152,0 +153,0 @@ const items: TriangleList[] = Array.isArray(props) ? props : [props]; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 3 instances in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 3 instances in 1 package
4685976
95
20567