UNPKG
glam
Version:
latest (5.0.1)
5.0.1
4.0.5
4.0.4
4.0.3
4.0.2
4.0.1
4.0.0
3.0.0
2.1.1
2.0.0
1.0.0
0.4.1
0.4.0
0.3.1
0.3.0
0.2.0
0.1.0
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.0
Experimental WebGL Engine
github.com/glamjs/glam
glamjs/glam
glam
/
es5
/
lib
/
augment
/
use-augment.js
9 lines
(8 loc)
•
216 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
default
= useAugment;
function
useAugment
(
oldMaterial, newMaterial, properties
) {
return
newMaterial
(oldMaterial, properties); }