StrandedKitty / three-csm

☀️ Cascaded shadow maps (CSMs) implementation for Three.js
MIT License
296 stars 21 forks source link

fix: updates types in csm.ts #29

Closed itsdouges closed 1 year ago

itsdouges commented 1 year ago

This pull request resolves actions in this comment https://github.com/StrandedKitty/three-csm/issues/22#issuecomment-1315990975.

I haven't tested this locally and I don't see CI running with tests so it would be good to confirm the changes before proceeding.

StrandedKitty commented 1 year ago

Replaced Camera with PerspectiveCamera | OrthographicCamera. Camera seems to be too abstract.

StrandedKitty commented 1 year ago

Available in 3.1.0