We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5efb1f0 commit 6480bb2Copy full SHA for 6480bb2
README.md
@@ -101,11 +101,29 @@ There is also the minified version
101
import {
102
vec3,
103
mat4,
104
-} from 'https://wgpu-matrix.org/dist/2.x/wgpu-matrix.module.js';
+} from 'https://wgpu-matrix.org/dist/2.x/wgpu-matrix.module.min.js';
105
106
// ... etc ...
107
```
108
109
+and a UMD version
110
+
111
+```html
112
+<script src="https://wgpu-matrix.org/dist/2.x/wgpu-matrix.js"></script>
113
+<script>
114
+const { mat4, vec3 } = wgpuMatrix;
115
+const m = mat4.identity();
116
+...
117
+</script>
118
+```
119
120
+or UDM min version
121
122
123
+<script src="https://wgpu-matrix.org/dist/2.x/wgpu-matrix.min.js"></script>
124
125
126
127
or via npm
128
129
```sh
0 commit comments