This repository was archived by the owner on Dec 18, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +12
-12
lines changed
Expand file tree Collapse file tree 6 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 18551855
18561856 png_tex . flipY = false ;
18571857
1858- if ( equi_enabled === true ) {
1858+ if ( document . getElementById ( 'equi' ) . checked ) {
18591859 png_tex . mapping = THREE . EquirectangularReflectionMapping ;
18601860 scene . background = png_tex . clone ( ) ;
18611861 scene . environment = png_tex . clone ( ) ;
18781878 texture_loader . load ( URL . createObjectURL ( fii ) , function ( texture ) {
18791879 URL . revokeObjectURL ( fii ) ;
18801880
1881- if ( equi_enabled === true ) {
1881+ if ( document . getElementById ( 'equi' ) . checked ) {
18821882 texture . mapping = THREE . EquirectangularReflectionMapping ;
18831883 scene . background = texture . clone ( ) ;
18841884 scene . environment = texture . clone ( ) ;
Original file line number Diff line number Diff line change 17861786
17871787 png_tex . flipY = false ;
17881788
1789- if ( equi_enabled === true ) {
1789+ if ( document . getElementById ( 'equi' ) . checked ) {
17901790 png_tex . mapping = THREE . EquirectangularReflectionMapping ;
17911791 scene . background = png_tex . clone ( ) ;
17921792 scene . environment = png_tex . clone ( ) ;
18091809 texture_loader . load ( URL . createObjectURL ( fii ) , function ( texture ) {
18101810 URL . revokeObjectURL ( fii ) ;
18111811
1812- if ( equi_enabled === true ) {
1812+ if ( document . getElementById ( 'equi' ) . checked ) {
18131813 texture . mapping = THREE . EquirectangularReflectionMapping ;
18141814 scene . background = texture . clone ( ) ;
18151815 scene . environment = texture . clone ( ) ;
Original file line number Diff line number Diff line change 18191819
18201820 png_tex . flipY = false ;
18211821
1822- if ( equi_enabled === true ) {
1822+ if ( document . getElementById ( 'equi' ) . checked ) {
18231823 png_tex . mapping = THREE . EquirectangularReflectionMapping ;
18241824 scene . background = png_tex . clone ( ) ;
18251825 scene . environment = png_tex . clone ( ) ;
18421842 texture_loader . load ( URL . createObjectURL ( fii ) , function ( texture ) {
18431843 URL . revokeObjectURL ( fii ) ;
18441844
1845- if ( equi_enabled === true ) {
1845+ if ( document . getElementById ( 'equi' ) . checked ) {
18461846 texture . mapping = THREE . EquirectangularReflectionMapping ;
18471847 scene . background = texture . clone ( ) ;
18481848 scene . environment = texture . clone ( ) ;
Original file line number Diff line number Diff line change 19041904
19051905 png_tex . flipY = false ;
19061906
1907- if ( equi_enabled === true ) {
1907+ if ( document . getElementById ( 'equi' ) . checked ) {
19081908 png_tex . mapping = THREE . EquirectangularReflectionMapping ;
19091909 scene . background = png_tex . clone ( ) ;
19101910 scene . environment = png_tex . clone ( ) ;
19271927 texture_loader . load ( URL . createObjectURL ( fii ) , function ( texture ) {
19281928 URL . revokeObjectURL ( fii ) ;
19291929
1930- if ( equi_enabled === true ) {
1930+ if ( document . getElementById ( 'equi' ) . checked ) {
19311931 texture . mapping = THREE . EquirectangularReflectionMapping ;
19321932 scene . background = texture . clone ( ) ;
19331933 scene . environment = texture . clone ( ) ;
Original file line number Diff line number Diff line change 15361536
15371537 png_tex . flipY = false ;
15381538
1539- if ( equi_enabled === true ) {
1539+ if ( document . getElementById ( 'equi' ) . checked ) {
15401540 png_tex . mapping = THREE . EquirectangularReflectionMapping ;
15411541 scene . background = png_tex . clone ( ) ;
15421542 scene . environment = png_tex . clone ( ) ;
15591559 texture_loader . load ( URL . createObjectURL ( fii ) , function ( texture ) {
15601560 URL . revokeObjectURL ( fii ) ;
15611561
1562- if ( equi_enabled === true ) {
1562+ if ( document . getElementById ( 'equi' ) . checked ) {
15631563 texture . mapping = THREE . EquirectangularReflectionMapping ;
15641564 scene . background = texture . clone ( ) ;
15651565 scene . environment = texture . clone ( ) ;
Original file line number Diff line number Diff line change 18301830
18311831 png_tex . flipY = false ;
18321832
1833- if ( equi_enabled === true ) {
1833+ if ( document . getElementById ( 'equi' ) . checked ) {
18341834 png_tex . mapping = THREE . EquirectangularReflectionMapping ;
18351835 scene . background = png_tex . clone ( ) ;
18361836 scene . environment = png_tex . clone ( ) ;
18531853 texture_loader . load ( URL . createObjectURL ( fii ) , function ( texture ) {
18541854 URL . revokeObjectURL ( fii ) ;
18551855
1856- if ( equi_enabled === true ) {
1856+ if ( document . getElementById ( 'equi' ) . checked ) {
18571857 texture . mapping = THREE . EquirectangularReflectionMapping ;
18581858 scene . background = texture . clone ( ) ;
18591859 scene . environment = texture . clone ( ) ;
You can’t perform that action at this time.
0 commit comments