Comparing version 0.0.86 to 0.0.87
{ | ||
"name": "ogl", | ||
"version": "0.0.86", | ||
"version": "0.0.87", | ||
"description": "WebGL Library", | ||
@@ -5,0 +5,0 @@ "main": "src/index.mjs", |
@@ -850,3 +850,3 @@ import { Geometry } from '../core/Geometry.js'; | ||
nodes.forEach((node) => { | ||
if (!node.extensions?.KHR_lights_punctual) return; | ||
if (!node?.extensions?.KHR_lights_punctual) return; | ||
const lightIndex = node.extensions.KHR_lights_punctual.light; | ||
@@ -853,0 +853,0 @@ const lightDesc = lightsDescArray[lightIndex]; |
288875