mirror of
https://github.com/CesiumGS/obj2gltf.git
synced 2024-11-23 16:44:05 -05:00
Changes var
to const
This commit is contained in:
parent
573cdc244f
commit
4251c8491c
@ -68,7 +68,7 @@ function loadMtl(mtlPath, options) {
|
||||
};
|
||||
|
||||
function createMaterial(name) {
|
||||
var materialOverrides = options.materialOverrides[name] || {};
|
||||
const materialOverrides = options.materialOverrides[name] || {};
|
||||
material = new Material();
|
||||
material.name = name;
|
||||
material.specularShininess = options.metallicRoughness ? 1.0 : 0.0;
|
||||
|
Loading…
Reference in New Issue
Block a user