()
| 921 | this.init(); |
| 922 | } |
| 923 | init() { |
| 924 | this.calcSize(); |
| 925 | this.createAllFBO(); |
| 926 | this.createShaderPass(); |
| 927 | } |
| 928 | getFloatType() { |
| 929 | const isIOS = /(iPad|iPhone|iPod)/i.test(navigator.userAgent); |
| 930 | return isIOS ? THREE.HalfFloatType : THREE.FloatType; |
no test coverage detected