Skip to content

Commit 5849691

Browse files
committed
Cherry pick gl-matrix modules
1 parent b2da34f commit 5849691

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
- Fix a rare glitch in the lasso selection where the lasso would be drawn with a far away point
44
- Smoothify lasso by lowering the min delay and min dist
55
- Update 2D camera and many dev packages
6+
- Remove the minified ESM build as it's unnecessary
7+
- Cherry pick gl-matrix modules to reduce the bundle size
68

79
**v0.7.3**
810

src/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import KDBush from 'kdbush';
33
import createPubSub from 'pub-sub-es';
44
import withThrottle from 'lodash-es/throttle';
55
import withRaf from 'with-raf';
6-
import { mat4, vec4 } from 'gl-matrix';
6+
import * as mat4 from 'gl-matrix/mat4';
7+
import * as vec4 from 'gl-matrix/vec4';
78
import createLine from 'regl-line';
89
import createScroll from 'scroll-speed';
910

0 commit comments

Comments
 (0)