AlexisTercero55 / THREEjs_III

Another abstraction level for computer graphics on the web, build on top of Threejs.
https://alexistercero55.github.io/THREEjs_III/
1 stars 0 forks source link

More general `III_Cam` #17

Open AlexisTercero55 opened 1 year ago

AlexisTercero55 commented 1 year ago

Aggregation instead of inheritance

Raise your hand uwu

Use aggregation instead of inheritance to achieve camera type selection on III_Cam

https://github.com/AlexisTercero55/THREEjs_III/blob/b09b356a98cac73e998497a7a6aa02b4b1df9164/js/threejs_iii/camera.js#L8

Requirements for pull request on main branch