1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- const vBufferSpecialCylinder = new Float32Array([-5.678913339579594e-9,-0.10497161746025085,-1,-0.08775380253791809,0.44548818469047546,-0.8909766674041748,1.0009496212005615,0.0009514093399047852,0,0,0,0,-5.678913339579594e-9,-0.10497161746025085,-1,0.08775380253791809,0.44548821449279785,-0.8909766674041748,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,0.19509032368659973,-0.10497161746025085,-0.9807852506637573,0.08775380253791809,0.44548821449279785,-0.8909766674041748,1.0009496212005615,0.0009514093399047852,0,0,0,0,0.19509032368659973,-0.10497161746025085,-0.9807852506637573,0.25988829135894775,0.44548869132995605,-0.8567367792129517,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,0.3826834261417389,-0.10497161746025085,-0.9238795042037964,0.25988829135894775,0.44548869132995605,-0.8567367792129517,1.0009496212005615,0.0009514093399047852,0,0,0,0,0.3826834261417389,-0.10497161746025085,-0.9238795042037964,0.42203545570373535,0.44548848271369934,-0.7895733714103699,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,0.5555702447891235,-0.10497161746025085,-0.8314695954322815,0.42203545570373535,0.44548848271369934,-0.7895733714103699,1.0009496212005615,0.0009514093399047852,0,0,0,0,0.5555702447891235,-0.10497161746025085,-0.8314695954322815,0.5679646134376526,0.44548842310905457,-0.6920666098594666,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,0.7071067690849304,-0.10497161746025085,-0.7071067690849304,0.5679646134376526,0.44548842310905457,-0.6920666098594666,1.0009496212005615,0.0009514093399047852,0,0,0,0,0.7071067690849304,-0.10497161746025085,-0.7071067690849304,0.6920667886734009,0.4454883933067322,-0.5679644346237183,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,0.8314695954322815,-0.10497161746025085,-0.5555702447891235,0.6920667886734009,0.4454883933067322,-0.5679644346237183,1.0009496212005615,0.0009514093399047852,0,0,0,0,0.8314695954322815,-0.10497161746025085,-0.5555702447891235,0.7895731925964355,0.4454883635044098,-0.42203593254089355,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,0.9238795042037964,-0.10497161746025085,-0.3826834261417389,0.7895731925964355,0.4454883635044098,-0.42203593254089355,1.0009496212005615,0.0009514093399047852,0,0,0,0,0.9238795042037964,-0.10497161746025085,-0.3826834261417389,0.856736958026886,0.4454883933067322,-0.2598881423473358,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,0.9807852506637573,-0.10497161746025085,-0.19509030878543854,0.856736958026886,0.4454883933067322,-0.2598881423473358,1.0009496212005615,0.0009514093399047852,0,0,0,0,0.9807852506637573,-0.10497161746025085,-0.19509030878543854,0.8909766674041748,0.4454883337020874,-0.0877537727355957,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,1,-0.10497161746025085,1.955777406692505e-8,0.8909766674041748,0.4454883337020874,-0.0877537727355957,1.0009496212005615,0.0009514093399047852,0,0,0,0,1,-0.10497161746025085,1.955777406692505e-8,0.8909766674041748,0.4454883337020874,0.0877537727355957,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,0.9807852506637573,-0.10497161746025085,0.19509033858776093,0.856736958026886,0.44548842310905457,0.2598881423473358,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,0.9807852506637573,-0.10497161746025085,0.19509033858776093,0.8909766674041748,0.4454883337020874,0.0877537727355957,1.0009496212005615,0.0009514093399047852,0,0,0,0,0.9238795042037964,-0.10497161746025085,0.38268348574638367,0.7895732522010803,0.44548821449279785,0.4220360517501831,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,0.9238795042037964,-0.10497161746025085,0.38268348574638367,0.856736958026886,0.44548842310905457,0.2598881423473358,1.0009496212005615,0.0009514093399047852,0,0,0,0,0.8314695954322815,-0.10497161746025085,0.5555702447891235,0.6920667886734009,0.4454882740974426,0.5679645538330078,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,0.8314695954322815,-0.10497161746025085,0.5555702447891235,0.7895732522010803,0.44548821449279785,0.4220360517501831,1.0009496212005615,0.0009514093399047852,0,0,0,0,0.7071067690849304,-0.10497161746025085,0.7071067690849304,0.5679647326469421,0.4454883635044098,0.6920666694641113,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,0.7071067690849304,-0.10497161746025085,0.7071067690849304,0.6920667886734009,0.4454882740974426,0.5679645538330078,1.0009496212005615,0.0009514093399047852,0,0,0,0,0.5555702447891235,-0.10497161746025085,0.8314695954322815,0.4220355749130249,0.4454882740974426,0.7895734310150146,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,0.5555702447891235,-0.10497161746025085,0.8314695954322815,0.5679647326469421,0.4454883635044098,0.6920666694641113,1.0009496212005615,0.0009514093399047852,0,0,0,0,0.3826834261417389,-0.10497161746025085,0.9238795042037964,0.25988829135894775,0.44548851251602173,0.8567368388175964,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,0.3826834261417389,-0.10497161746025085,0.9238795042037964,0.4220355749130249,0.4454882740974426,0.7895734310150146,1.0009496212005615,0.0009514093399047852,0,0,0,0,0.19509032368659973,-0.10497161746025085,0.9807852506637573,0.08775380253791809,0.44548818469047546,0.8909766674041748,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,0.19509032368659973,-0.10497161746025085,0.9807852506637573,0.25988829135894775,0.44548851251602173,0.8567368388175964,1.0009496212005615,0.0009514093399047852,0,0,0,0,-5.678913339579594e-9,-0.10497161746025085,1,-0.08775380253791809,0.44548821449279785,0.8909766674041748,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,-5.678913339579594e-9,-0.10497161746025085,1,0.08775380253791809,0.44548818469047546,0.8909766674041748,1.0009496212005615,0.0009514093399047852,0,0,0,0,-0.19509032368659973,-0.10497161746025085,0.9807852506637573,-0.25988826155662537,0.445488303899765,0.8567370772361755,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,-0.19509032368659973,-0.10497161746025085,0.9807852506637573,-0.08775380253791809,0.44548821449279785,0.8909766674041748,1.0009496212005615,0.0009514093399047852,0,0,0,0,-0.38268348574638367,-0.10497161746025085,0.9238795042037964,-0.4220356345176697,0.44548842310905457,0.7895733118057251,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,-0.38268348574638367,-0.10497161746025085,0.9238795042037964,-0.25988826155662537,0.445488303899765,0.8567370772361755,1.0009496212005615,0.0009514093399047852,0,0,0,0,-0.5555702447891235,-0.10497161746025085,0.8314695954322815,-0.5679647326469421,0.4454881548881531,0.6920667290687561,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,-0.5555702447891235,-0.10497161746025085,0.8314695954322815,-0.4220356345176697,0.44548842310905457,0.7895733118057251,1.0009496212005615,0.0009514093399047852,0,0,0,0,-0.7071067690849304,-0.10497161746025085,0.7071067690849304,-0.6920667290687561,0.44548842310905457,0.567964494228363,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,-0.7071067690849304,-0.10497161746025085,0.7071067690849304,-0.5679647326469421,0.4454881548881531,0.6920667290687561,1.0009496212005615,0.0009514093399047852,0,0,0,0,-0.8314695954322815,-0.10497161746025085,0.5555702447891235,-0.7895732522010803,0.44548821449279785,0.4220360517501831,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,-0.8314695954322815,-0.10497161746025085,0.5555702447891235,-0.6920667290687561,0.44548842310905457,0.567964494228363,1.0009496212005615,0.0009514093399047852,0,0,0,0,-0.9238795042037964,-0.10497161746025085,0.38268348574638367,-0.856736958026886,0.4454883933067322,0.2598881125450134,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,-0.9238795042037964,-0.10497161746025085,0.38268348574638367,-0.7895732522010803,0.44548821449279785,0.4220360517501831,1.0009496212005615,0.0009514093399047852,0,0,0,0,-0.9807852506637573,-0.10497161746025085,0.19509033858776093,-0.8909767866134644,0.44548824429512024,0.08775343745946884,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,-0.9807852506637573,-0.10497161746025085,0.19509033858776093,-0.856736958026886,0.4454883933067322,0.2598881125450134,1.0009496212005615,0.0009514093399047852,0,0,0,0,-0.9999999403953552,-0.10497161746025085,1.955777406692505e-8,-0.8909767866134644,0.44548824429512024,-0.08775343745946884,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,-0.9999999403953552,-0.10497161746025085,1.955777406692505e-8,-0.8909767866134644,0.44548824429512024,0.08775343745946884,1.0009496212005615,0.0009514093399047852,0,0,0,0,-0.9807852506637573,-0.10497161746025085,-0.19509030878543854,-0.8909767866134644,0.44548824429512024,-0.08775343745946884,1.0009496212005615,0.0009514093399047852,0,0,0,0,-0.9807852506637573,-0.10497161746025085,-0.19509030878543854,-0.856736958026886,0.4454883933067322,-0.2598881721496582,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,-0.9238795042037964,-0.10497161746025085,-0.3826834261417389,-0.856736958026886,0.4454883933067322,-0.2598881721496582,1.0009496212005615,0.0009514093399047852,0,0,0,0,-0.9238795042037964,-0.10497161746025085,-0.3826834261417389,-0.7895731925964355,0.4454882740974426,-0.42203593254089355,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,-0.8314695954322815,-0.10497161746025085,-0.5555702447891235,-0.7895731925964355,0.4454882740974426,-0.42203593254089355,1.0009496212005615,0.0009514093399047852,0,0,0,0,-0.8314695954322815,-0.10497161746025085,-0.5555702447891235,-0.6920668482780457,0.44548824429512024,-0.567964494228363,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,-0.7071067690849304,-0.10497161746025085,-0.7071067690849304,-0.6920668482780457,0.44548824429512024,-0.567964494228363,1.0009496212005615,0.0009514093399047852,0,0,0,0,-0.7071067690849304,-0.10497161746025085,-0.7071067690849304,-0.5679647326469421,0.4454882740974426,-0.6920666694641113,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,-0.5555702447891235,-0.10497161746025085,-0.8314695954322815,-0.5679647326469421,0.4454882740974426,-0.6920666694641113,1.0009496212005615,0.0009514093399047852,0,0,0,0,-0.5555702447891235,-0.10497161746025085,-0.8314695954322815,-0.42203566431999207,0.44548851251602173,-0.7895731925964355,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,-0.38268348574638367,-0.10497161746025085,-0.9238795042037964,-0.42203566431999207,0.44548851251602173,-0.7895731925964355,1.0009496212005615,0.0009514093399047852,0,0,0,0,-0.38268348574638367,-0.10497161746025085,-0.9238795042037964,-0.259888231754303,0.4454883933067322,-0.856736958026886,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,-0.19509032368659973,-0.10497161746025085,-0.9807852506637573,-0.259888231754303,0.4454883933067322,-0.856736958026886,1.0009496212005615,0.0009514093399047852,0,0,0,0,-0.19509032368659973,-0.10497161746025085,-0.9807852506637573,-0.08775380253791809,0.44548818469047546,-0.8909766674041748,0.0009514391422271729,-0.0009496212005615234,0,0,0,0,-5.678913339579594e-9,0.10497245192527771,-0.8950279951095581,-0.08775380253791809,0.44548818469047546,-0.8909766674041748,0.9990485906600952,1.0009496212005615,0,0,0,0,-5.678913339579594e-9,0.10497245192527771,-0.8950279951095581,0.08775380253791809,0.44548821449279785,-0.8909766674041748,-0.0009496510028839111,0.9990485906600952,0,0,0,0,0.17461130023002625,0.10497245192527771,-0.8778302073478699,0.08775380253791809,0.44548821449279785,-0.8909766674041748,0.9990485906600952,1.0009496212005615,0,0,0,0,0.17461130023002625,0.10497245192527771,-0.8778302073478699,0.25988829135894775,0.44548869132995605,-0.8567367792129517,-0.0009496510028839111,0.9990485906600952,0,0,0,0,0.3425123393535614,0.10497245192527771,-0.8268979787826538,0.25988829135894775,0.44548869132995605,-0.8567367792129517,0.9990485906600952,1.0009496212005615,0,0,0,0,0.3425123393535614,0.10497245192527771,-0.8268979787826538,0.42203545570373535,0.44548848271369934,-0.7895733714103699,-0.0009496510028839111,0.9990485906600952,0,0,0,0,0.49725088477134705,0.10497245192527771,-0.7441885471343994,0.42203545570373535,0.44548848271369934,-0.7895733714103699,0.9990485906600952,1.0009496212005615,0,0,0,0,0.49725088477134705,0.10497245192527771,-0.7441885471343994,0.5679646134376526,0.44548842310905457,-0.6920666098594666,-0.0009496510028839111,0.9990485906600952,0,0,0,0,0.6328803300857544,0.10497245192527771,-0.6328803300857544,0.5679646134376526,0.44548842310905457,-0.6920666098594666,0.9990485906600952,1.0009496212005615,0,0,0,0,0.6328803300857544,0.10497245192527771,-0.6328803300857544,0.6920667886734009,0.4454883933067322,-0.5679644346237183,-0.0009496510028839111,0.9990485906600952,0,0,0,0,0.7441885471343994,0.10497245192527771,-0.49725088477134705,0.6920667886734009,0.4454883933067322,-0.5679644346237183,0.9990485906600952,1.0009496212005615,0,0,0,0,0.7441885471343994,0.10497245192527771,-0.49725088477134705,0.7895731925964355,0.4454883635044098,-0.42203593254089355,-0.0009496510028839111,0.9990485906600952,0,0,0,0,0.8268979787826538,0.10497245192527771,-0.3425123393535614,0.7895731925964355,0.4454883635044098,-0.42203593254089355,0.9990485906600952,1.0009496212005615,0,0,0,0,0.8268979787826538,0.10497245192527771,-0.3425123393535614,0.856736958026886,0.4454883933067322,-0.2598881423473358,-0.0009496510028839111,0.9990485906600952,0,0,0,0,0.8778302073478699,0.10497245192527771,-0.17461128532886505,0.856736958026886,0.4454883933067322,-0.2598881423473358,0.9990485906600952,1.0009496212005615,0,0,0,0,0.8778302073478699,0.10497245192527771,-0.17461128532886505,0.8909766674041748,0.4454883337020874,-0.0877537727355957,-0.0009496510028839111,0.9990485906600952,0,0,0,0,0.8950279951095581,0.10497245192527771,1.955777406692505e-8,0.8909766674041748,0.4454883337020874,-0.0877537727355957,0.9990485906600952,1.0009496212005615,0,0,0,0,0.8950279951095581,0.10497245192527771,1.955777406692505e-8,0.8909766674041748,0.4454883337020874,0.0877537727355957,-0.0009496510028839111,0.9990485906600952,0,0,0,0,0.8778302073478699,0.10497245192527771,0.17461131513118744,0.856736958026886,0.44548842310905457,0.2598881423473358,-0.0009496510028839111,0.9990485906600952,0,0,0,0,0.8778302073478699,0.10497245192527771,0.17461131513118744,0.8909766674041748,0.4454883337020874,0.0877537727355957,0.9990485906600952,1.0009496212005615,0,0,0,0,0.8268979787826538,0.10497245192527771,0.3425123989582062,0.7895732522010803,0.44548821449279785,0.4220360517501831,-0.0009496510028839111,0.9990485906600952,0,0,0,0,0.8268979787826538,0.10497245192527771,0.3425123989582062,0.856736958026886,0.44548842310905457,0.2598881423473358,0.9990485906600952,1.0009496212005615,0,0,0,0,0.7441885471343994,0.10497245192527771,0.4972509443759918,0.6920667886734009,0.4454882740974426,0.5679645538330078,-0.0009496510028839111,0.9990485906600952,0,0,0,0,0.7441885471343994,0.10497245192527771,0.4972509443759918,0.7895732522010803,0.44548821449279785,0.4220360517501831,0.9990485906600952,1.0009496212005615,0,0,0,0,0.6328803300857544,0.10497245192527771,0.6328803300857544,0.5679647326469421,0.4454883635044098,0.6920666694641113,-0.0009496510028839111,0.9990485906600952,0,0,0,0,0.6328803300857544,0.10497245192527771,0.6328803300857544,0.6920667886734009,0.4454882740974426,0.5679645538330078,0.9990485906600952,1.0009496212005615,0,0,0,0,0.49725088477134705,0.10497245192527771,0.7441885471343994,0.4220355749130249,0.4454882740974426,0.7895734310150146,-0.0009496510028839111,0.9990485906600952,0,0,0,0,0.49725088477134705,0.10497245192527771,0.7441885471343994,0.5679647326469421,0.4454883635044098,0.6920666694641113,0.9990485906600952,1.0009496212005615,0,0,0,0,0.3425123393535614,0.10497245192527771,0.8268979787826538,0.25988829135894775,0.44548851251602173,0.8567368388175964,-0.0009496510028839111,0.9990485906600952,0,0,0,0,0.3425123393535614,0.10497245192527771,0.8268979787826538,0.4220355749130249,0.4454882740974426,0.7895734310150146,0.9990485906600952,1.0009496212005615,0,0,0,0,0.17461130023002625,0.10497245192527771,0.8778302073478699,0.08775380253791809,0.44548818469047546,0.8909766674041748,-0.0009496510028839111,0.9990485906600952,0,0,0,0,0.17461130023002625,0.10497245192527771,0.8778302073478699,0.25988829135894775,0.44548851251602173,0.8567368388175964,0.9990485906600952,1.0009496212005615,0,0,0,0,-5.678913339579594e-9,0.10497245192527771,0.8950279951095581,-0.08775380253791809,0.44548821449279785,0.8909766674041748,-0.0009496510028839111,0.9990485906600952,0,0,0,0,-5.678913339579594e-9,0.10497245192527771,0.8950279951095581,0.08775380253791809,0.44548818469047546,0.8909766674041748,0.9990485906600952,1.0009496212005615,0,0,0,0,-0.17461130023002625,0.10497245192527771,0.8778302073478699,-0.25988826155662537,0.445488303899765,0.8567370772361755,-0.0009496510028839111,0.9990485906600952,0,0,0,0,-0.17461130023002625,0.10497245192527771,0.8778302073478699,-0.08775380253791809,0.44548821449279785,0.8909766674041748,0.9990485906600952,1.0009496212005615,0,0,0,0,-0.3425123989582062,0.10497245192527771,0.8268979787826538,-0.4220356345176697,0.44548842310905457,0.7895733118057251,-0.0009496510028839111,0.9990485906600952,0,0,0,0,-0.3425123989582062,0.10497245192527771,0.8268979787826538,-0.25988826155662537,0.445488303899765,0.8567370772361755,0.9990485906600952,1.0009496212005615,0,0,0,0,-0.4972509443759918,0.10497245192527771,0.7441885471343994,-0.5679647326469421,0.4454881548881531,0.6920667290687561,-0.0009496510028839111,0.9990485906600952,0,0,0,0,-0.4972509443759918,0.10497245192527771,0.7441885471343994,-0.4220356345176697,0.44548842310905457,0.7895733118057251,0.9990485906600952,1.0009496212005615,0,0,0,0,-0.6328803300857544,0.10497245192527771,0.6328803300857544,-0.6920667290687561,0.44548842310905457,0.567964494228363,-0.0009496510028839111,0.9990485906600952,0,0,0,0,-0.6328803300857544,0.10497245192527771,0.6328803300857544,-0.5679647326469421,0.4454881548881531,0.6920667290687561,0.9990485906600952,1.0009496212005615,0,0,0,0,-0.7441885471343994,0.10497245192527771,0.4972509443759918,-0.7895732522010803,0.44548821449279785,0.4220360517501831,-0.0009496510028839111,0.9990485906600952,0,0,0,0,-0.7441885471343994,0.10497245192527771,0.4972509443759918,-0.6920667290687561,0.44548842310905457,0.567964494228363,0.9990485906600952,1.0009496212005615,0,0,0,0,-0.8268979787826538,0.10497245192527771,0.3425123989582062,-0.856736958026886,0.4454883933067322,0.2598881125450134,-0.0009496510028839111,0.9990485906600952,0,0,0,0,-0.8268979787826538,0.10497245192527771,0.3425123989582062,-0.7895732522010803,0.44548821449279785,0.4220360517501831,0.9990485906600952,1.0009496212005615,0,0,0,0,-0.8778302073478699,0.10497245192527771,0.17461131513118744,-0.8909767866134644,0.44548824429512024,0.08775343745946884,-0.0009496510028839111,0.9990485906600952,0,0,0,0,-0.8778302073478699,0.10497245192527771,0.17461131513118744,-0.856736958026886,0.4454883933067322,0.2598881125450134,0.9990485906600952,1.0009496212005615,0,0,0,0,-0.8950279951095581,0.10497245192527771,1.955777406692505e-8,-0.8909767866134644,0.44548824429512024,-0.08775343745946884,-0.0009496510028839111,0.9990485906600952,0,0,0,0,-0.8950279951095581,0.10497245192527771,1.955777406692505e-8,-0.8909767866134644,0.44548824429512024,0.08775343745946884,0.9990485906600952,1.0009496212005615,0,0,0,0,-0.8778302073478699,0.10497245192527771,-0.17461128532886505,-0.8909767866134644,0.44548824429512024,-0.08775343745946884,0.9990485906600952,1.0009496212005615,0,0,0,0,-0.8778302073478699,0.10497245192527771,-0.17461128532886505,-0.856736958026886,0.4454883933067322,-0.2598881721496582,-0.0009496510028839111,0.9990485906600952,0,0,0,0,-0.8268979787826538,0.10497245192527771,-0.3425123393535614,-0.856736958026886,0.4454883933067322,-0.2598881721496582,0.9990485906600952,1.0009496212005615,0,0,0,0,-0.8268979787826538,0.10497245192527771,-0.3425123393535614,-0.7895731925964355,0.4454882740974426,-0.42203593254089355,-0.0009496510028839111,0.9990485906600952,0,0,0,0,-0.7441885471343994,0.10497245192527771,-0.49725088477134705,-0.7895731925964355,0.4454882740974426,-0.42203593254089355,0.9990485906600952,1.0009496212005615,0,0,0,0,-0.7441885471343994,0.10497245192527771,-0.49725088477134705,-0.6920668482780457,0.44548824429512024,-0.567964494228363,-0.0009496510028839111,0.9990485906600952,0,0,0,0,-0.6328803300857544,0.10497245192527771,-0.6328803300857544,-0.6920668482780457,0.44548824429512024,-0.567964494228363,0.9990485906600952,1.0009496212005615,0,0,0,0,-0.6328803300857544,0.10497245192527771,-0.6328803300857544,-0.5679647326469421,0.4454882740974426,-0.6920666694641113,-0.0009496510028839111,0.9990485906600952,0,0,0,0,-0.4972509443759918,0.10497245192527771,-0.7441885471343994,-0.5679647326469421,0.4454882740974426,-0.6920666694641113,0.9990485906600952,1.0009496212005615,0,0,0,0,-0.4972509443759918,0.10497245192527771,-0.7441885471343994,-0.42203566431999207,0.44548851251602173,-0.7895731925964355,-0.0009496510028839111,0.9990485906600952,0,0,0,0,-0.3425123989582062,0.10497245192527771,-0.8268979787826538,-0.42203566431999207,0.44548851251602173,-0.7895731925964355,0.9990485906600952,1.0009496212005615,0,0,0,0,-0.3425123989582062,0.10497245192527771,-0.8268979787826538,-0.259888231754303,0.4454883933067322,-0.856736958026886,-0.0009496510028839111,0.9990485906600952,0,0,0,0,-0.17461130023002625,0.10497245192527771,-0.8778302073478699,-0.259888231754303,0.4454883933067322,-0.856736958026886,0.9990485906600952,1.0009496212005615,0,0,0,0,-0.17461130023002625,0.10497245192527771,-0.8778302073478699,-0.08775380253791809,0.44548818469047546,-0.8909766674041748,-0.0009496510028839111,0.9990485906600952,0,0,0,0]);
- const iBufferSpecialCylinder = new Uint16Array([63,127,64,63,64,0,61,125,126,61,126,62,59,123,124,59,124,60,57,121,122,57,122,58,55,119,120,55,120,56,53,117,118,53,118,54,51,115,116,51,116,52,48,112,114,48,114,50,46,110,113,46,113,49,44,108,111,44,111,47,42,106,109,42,109,45,40,104,107,40,107,43,38,102,105,38,105,41,36,100,103,36,103,39,34,98,101,34,101,37,32,96,99,32,99,35,30,94,97,30,97,33,28,92,95,28,95,31,26,90,93,26,93,29,24,88,91,24,91,27,22,86,89,22,89,25,20,84,87,20,87,23,18,82,85,18,85,21,17,81,83,17,83,19,15,79,80,15,80,16,13,77,78,13,78,14,11,75,76,11,76,12,9,73,74,9,74,10,7,71,72,7,72,8,5,69,70,5,70,6,3,67,68,3,68,4,1,65,66,1,66,2]);
- const xrFrameSystem = wx.getXrFrameSystem();
- const boundCenter = xrFrameSystem.Vector3.createFromNumber(0, 0, 0);
- const boundSize = xrFrameSystem.Vector3.createFromNumber(1, 1, 1);
- const defaultSubMeshLength = iBufferSpecialCylinder.length;
- xrFrameSystem.registerGeometry('specialCylinderCustom', scene => {
- const geo = scene.createGeometry(getSpecialVertexLayout(scene), vBufferSpecialCylinder, iBufferSpecialCylinder);
- geo.setBoundBox(boundCenter, boundSize);
- geo.addSubMesh(defaultSubMeshLength, 0, 0);
- return geo;
- });
- const defaultAttributes = [
- {
- name: "a_normal",
- format: 2,
- offset: 12,
- usage: 2
- },
- {
- name: "a_position",
- format: 2,
- offset: 0,
- usage: 1
- },
- {
- name: "a_tangent",
- format: 3,
- offset: 40,
- usage: 3
- },
- {
- name: "a_texCoord",
- format: 1,
- offset: 24,
- usage: 4
- }
- ];
- const defaultStride = 48;
- function getSpecialVertexLayout(scene){
- return scene.createVertexLayout({
- attributes: defaultAttributes,
- stride: defaultStride
- });
- }
|