UNPKG

lingo3d

Version:

Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor

10 lines 435 B
import { shadowResolutionPtr } from "../../pointers/shadowResolutionPtr"; import { clearNumberPtrSystem } from "../../systems/clearNumberPtrSystem"; clearNumberPtrSystem.add(shadowResolutionPtr); export default (shadow) => { if (shadow.needsUpdate || !shadow.map) return; shadow.needsUpdate = true; shadowResolutionPtr[0] += Math.max(shadow.map.width, shadow.map.height); }; //# sourceMappingURL=updateShadow.js.map