kiki/coffee/geom.coffee
monsterkodi 109fa0185a gears
2016-08-20 20:03:01 +02:00

517 lines
23 KiB
CoffeeScript

# 0000000 00000000 0000000 00 00
# 000 000 000 000 000 000
# 000 0000 0000000 000 000 000000000
# 000 000 000 000 000 000 0 000
# 0000000 00000000 0000000 000 000
log = require '/Users/kodi/s/ko/js/tools/log'
Vector = require './lib/vector'
class Geom
@valve: ->
quads = 6+5*8 # valve
triangles = quads*2
positions = new Float32Array triangles*9
normals = new Float32Array triangles*9
pi = -1
pi = @quadList positions, normals, pi, @valveQuads
pi = @quadStrip positions, normals, pi, @valveQuadStrip1
pi = @quadStrip positions, normals, pi, @valveQuadStrip2
pi = @quadStrip positions, normals, pi, @valveQuadStrip3
pi = @quadStrip positions, normals, pi, @valveQuadStrip4
pi = @quadStrip positions, normals, pi, @valveQuadStrip5
geom = new THREE.BufferGeometry
geom.addAttribute 'position', new THREE.BufferAttribute positions, 3
geom.addAttribute 'normal', new THREE.BufferAttribute normals, 3
geom
@gear: ->
quads = 48+16*3 # gear
triangles = quads*2
positions = new Float32Array triangles*9
normals = new Float32Array triangles*9
pi = -1
pi = @quadList positions, normals, pi, @gearQuads
pi = @quadStrip positions, normals, pi, @gearQuadStrip1
pi = @quadStrip positions, normals, pi, @gearQuadStrip2
pi = @quadStrip positions, normals, pi, @gearQuadStrip3
geom = new THREE.BufferGeometry
geom.addAttribute 'position', new THREE.BufferAttribute positions, 3
geom.addAttribute 'normal', new THREE.BufferAttribute normals, 3
geom.translate 0,0,0.4
geom
@quadList: (positions, normals, pi, quads) ->
numQuads = quads.length/24
for q in [0...numQuads]
qi = q * 24
for j in [0,1,2,0,2,3]
jj = j * 6
for i in [0...3]
positions[pi+=1] = quads[qi+jj+i+3]
normals[pi] = quads[qi+jj+i]
pi
@quadStrip: (positions, normals, pi, strip) ->
numQuads = strip.length/12-2
for q in [0...numQuads]
qi = q * 12
for j in [0,1,2,2,1,3]
jj = j*6
for i in [0...3]
positions[pi+=1] = strip[qi+jj+i+3]
normals[pi] = strip[qi+jj+i]
pi
@valveQuads = [
0, 0, 1, 0.100, 0, 0.500,
0, 0, 1, 0.071, 0.071, 0.500,
0, 0, 1, 0, 0.100, 0.500,
0, 0, 1, 0.071, -0.071, 0.500,
0, 0, 1,-0.100, 0, 0.500,
0, 0, 1,-0.071, -0.071, 0.500,
0, 0, 1, 0, -0.100, 0.500,
0, 0, 1,-0.071, 0.071, 0.500,
0, 0, 1, 0.071, -0.071, 0.500,
0, 0, 1, 0, 0.100, 0.500,
0, 0, 1,-0.071, 0.071, 0.500,
0, 0, 1, 0, -0.100, 0.500,
0, 0, -1, 0.100, 0, -0.500,
0, 0, -1, 0.071, -0.071, -0.500,
0, 0, -1, 0, -0.100, -0.500,
0, 0, -1, 0.071, 0.071, -0.500,
0, 0, -1,-0.100, 0, -0.500,
0, 0, -1,-0.071, 0.071, -0.500,
0, 0, -1, 0, 0.100, -0.500,
0, 0, -1,-0.071, -0.071, -0.500,
0, 0, -1, 0.071, 0.071, -0.500,
0, 0, -1, 0, -0.100, -0.500,
0, 0, -1,-0.071, -0.071, -0.500,
0, 0, -1, 0, 0.100, -0.500,
]
@valveQuadStrip1 = [
0.673, 0.673, 0.308, 0.071, 0.071, -0.346,
0.673, 0.673, 0.308, 0.042, 0.042, -0.220,
0.951, -0.000, 0.308, 0.100, 0.000, -0.346,
0.951, -0.000, 0.308, 0.059, 0.000, -0.220,
0.673, -0.673, 0.308, 0.071, -0.071, -0.346,
0.673, -0.673, 0.308, 0.042, -0.042, -0.220,
-0.000, -0.951, 0.308, 0.000, -0.100, -0.346,
-0.000, -0.951, 0.308, 0.000, -0.059, -0.220,
-0.673, -0.673, 0.308, -0.071, -0.071, -0.346,
-0.673, -0.673, 0.308, -0.042, -0.042, -0.220,
-0.951, -0.000, 0.308, -0.100, 0.000, -0.346,
-0.951, -0.000, 0.308, -0.059, 0.000, -0.220,
-0.673, 0.673, 0.308, -0.071, 0.071, -0.346,
-0.673, 0.673, 0.308, -0.042, 0.042, -0.220,
-0.000, 0.951, 0.308, -0.000, 0.100, -0.346,
-0.000, 0.951, 0.308, -0.000, 0.059, -0.220,
0.673, 0.673, 0.308, 0.071, 0.071, -0.346,
0.673, 0.673, 0.308, 0.042, 0.042, -0.220,
0.951, -0.000, 0.308, 0.100, 0.000, -0.346,
0.951, -0.000, 0.308, 0.059, 0.000, -0.220]
@valveQuadStrip2 = [
0.707, 0.707, 0.000, 0.042, 0.042, -0.220,
0.707, 0.707, 0.000, 0.042, 0.042, 0.220,
1.000, 0.000, 0.000, 0.059, 0.000, -0.220,
1.000, 0.000, 0.000, 0.059, -0.000, 0.220,
0.707, -0.707, -0.000, 0.042, -0.042, -0.220,
0.707, -0.707, -0.000, 0.042, -0.042, 0.220,
0.000, -1.000, -0.000, 0.000, -0.059, -0.220,
0.000, -1.000, -0.000, 0.000, -0.059, 0.220,
-0.707, -0.707, -0.000, -0.042, -0.042, -0.220,
-0.707, -0.707, -0.000, -0.042, -0.042, 0.220,
-1.000, -0.000, 0.000, -0.059, 0.000, -0.220,
-1.000, -0.000, 0.000, -0.059, -0.000, 0.220,
-0.707, 0.707, 0.000, -0.042, 0.042, -0.220,
-0.707, 0.707, 0.000, -0.042, 0.042, 0.220,
-0.000, 1.000, 0.000, -0.000, 0.059, -0.220,
-0.000, 1.000, 0.000, -0.000, 0.059, 0.220,
0.707, 0.707, 0.000, 0.042, 0.042, -0.220,
0.707, 0.707, 0.000, 0.042, 0.042, 0.220,
1.000, 0.000, 0.000, 0.059, 0.000, -0.220,
1.000, 0.000, 0.000, 0.059, -0.000, 0.220]
@valveQuadStrip3 = [
0.707, 0.707, 0.000, 0.071, 0.071, -0.500,
0.707, 0.707, 0.000, 0.071, 0.071, -0.346,
1.000, -0.000, 0.000, 0.100, 0.000, -0.500,
1.000, -0.000, 0.000, 0.100, 0.000, -0.346,
0.707, -0.707, -0.000, 0.071, -0.071, -0.500,
0.707, -0.707, -0.000, 0.071, -0.071, -0.346,
0.000, -1.000, -0.000, 0.000, -0.100, -0.500,
0.000, -1.000, -0.000, 0.000, -0.100, -0.346,
-0.707, -0.707, -0.000, -0.071, -0.071, -0.500,
-0.707, -0.707, -0.000, -0.071, -0.071, -0.346,
-1.000, -0.000, -0.000, -0.100, 0.000, -0.500,
-1.000, -0.000, -0.000, -0.100, 0.000, -0.346,
-0.707, 0.707, 0.000, -0.071, 0.071, -0.500,
-0.707, 0.707, 0.000, -0.071, 0.071, -0.346,
-0.000, 1.000, 0.000, -0.000, 0.100, -0.500,
-0.000, 1.000, 0.000, -0.000, 0.100, -0.346,
0.707, 0.707, 0.000, 0.071, 0.071, -0.500,
0.707, 0.707, 0.000, 0.071, 0.071, -0.346,
1.000, -0.000, 0.000, 0.100, 0.000, -0.500,
1.000, -0.000, 0.000, 0.100, 0.000, -0.346]
@valveQuadStrip4 = [
-0.000, 1.000, 0.000, -0.000, 0.100, 0.354,
-0.000, 1.000, 0.000, -0.000, 0.100, 0.500,
0.707, 0.707, 0.000, 0.071, 0.071, 0.354,
0.707, 0.707, 0.000, 0.071, 0.071, 0.500,
1.000, 0.000, -0.000, 0.100, -0.000, 0.354,
1.000, 0.000, -0.000, 0.100, -0.000, 0.500,
0.707, -0.707, -0.000, 0.071, -0.071, 0.354,
0.707, -0.707, -0.000, 0.071, -0.071, 0.500,
0.000, -1.000, -0.000, 0.000, -0.100, 0.354,
0.000, -1.000, -0.000, 0.000, -0.100, 0.500,
-0.707, -0.707, -0.000, -0.071, -0.071, 0.354,
-0.707, -0.707, -0.000, -0.071, -0.071, 0.500,
-1.000, -0.000, 0.000, -0.100, -0.000, 0.354,
-1.000, -0.000, 0.000, -0.100, -0.000, 0.500,
-0.707, 0.707, 0.000, -0.071, 0.071, 0.354,
-0.707, 0.707, 0.000, -0.071, 0.071, 0.500,
-0.000, 1.000, 0.000, -0.000, 0.100, 0.354,
-0.000, 1.000, 0.000, -0.000, 0.100, 0.500,
0.707, 0.707, 0.000, 0.071, 0.071, 0.354,
0.707, 0.707, 0.000, 0.071, 0.071, 0.500]
@valveQuadStrip5 = [
0.676, 0.676, -0.291, 0.042, 0.042, 0.220,
0.676, 0.676, -0.291, 0.071, 0.071, 0.354,
0.957, 0.000, -0.291, 0.059, -0.000, 0.220,
0.957, 0.000, -0.291, 0.100, -0.000, 0.354,
0.676, -0.676, -0.291, 0.042, -0.042, 0.220,
0.676, -0.676, -0.291, 0.071, -0.071, 0.354,
0.000, -0.957, -0.291, 0.000, -0.059, 0.220,
0.000, -0.957, -0.291, 0.000, -0.100, 0.354,
-0.676, -0.676, -0.291, -0.042, -0.042, 0.220,
-0.676, -0.676, -0.291, -0.071, -0.071, 0.354,
-0.957, 0.000, -0.291, -0.059, -0.000, 0.220,
-0.957, 0.000, -0.291, -0.100, -0.000, 0.354,
-0.676, 0.676, -0.291, -0.042, 0.042, 0.220,
-0.676, 0.676, -0.291, -0.071, 0.071, 0.354,
0.000, 0.957, -0.291, -0.000, 0.059, 0.220,
0.000, 0.957, -0.291, -0.000, 0.100, 0.354,
0.676, 0.676, -0.291, 0.042, 0.042, 0.220,
0.676, 0.676, -0.291, 0.071, 0.071, 0.354,
0.957, 0.000, -0.291, 0.059, -0.000, 0.220,
0.957, 0.000, -0.291, 0.100, -0.000, 0.354]
@gearQuadStrip1 = [
0.120, -0.050, 0.991, 0.208, -0.086, 0.111,
0.143, -0.046, 0.989, 0.375, -0.155, 0.087,
0.130, 0, 0.991, 0.226, 0, 0.111,
0.149, -0.012, 0.989, 0.406, 0, 0.087,
0.120, 0.050, 0.991, 0.208, 0.086, 0.111,
0.133, 0.069, 0.989, 0.375, 0.155, 0.087,
0.092, 0.092, 0.991, 0.160, 0.160, 0.111,
0.114, 0.097, 0.989, 0.287, 0.287, 0.087,
0.050, 0.120, 0.991, 0.086, 0.208, 0.111,
0.046, 0.143, 0.989, 0.155, 0.375, 0.087,
0, 0.130, 0.991, 0, 0.226, 0.111,
0.012, 0.149, 0.989, 0, 0.406, 0.087,
-0.050, 0.120, 0.991, -0.086, 0.208, 0.111,
-0.069, 0.133, 0.989, -0.155, 0.375, 0.087,
-0.092, 0.092, 0.991, -0.160, 0.160, 0.111,
-0.097, 0.114, 0.989, -0.287, 0.287, 0.087,
-0.120, 0.050, 0.991, -0.208, 0.086, 0.111,
-0.143, 0.046, 0.989, -0.375, 0.155, 0.087,
-0.130, 0, 0.991, -0.226, 0, 0.111,
-0.149, 0.012, 0.989, -0.406, 0, 0.087,
-0.120, -0.050, 0.991, -0.208, -0.086, 0.111,
-0.133, -0.069, 0.989, -0.375, -0.155, 0.087,
-0.092, -0.092, 0.991, -0.160, -0.160, 0.111,
-0.114, -0.097, 0.989, -0.287, -0.287, 0.087,
-0.050, -0.120, 0.991, -0.086, -0.208, 0.111,
-0.046, -0.143, 0.989, -0.155, -0.375, 0.087,
0, -0.130, 0.991, 0, -0.226, 0.111,
-0.012, -0.149, 0.989, 0, -0.406, 0.087,
0.050, -0.120, 0.991, 0.086, -0.208, 0.111,
0.069, -0.133, 0.989, 0.155, -0.375, 0.087,
0.092, -0.092, 0.991, 0.160, -0.160, 0.111,
0.097, -0.114, 0.989, 0.287, -0.287, 0.087,
0.120, -0.050, 0.991, 0.208, -0.086, 0.111,
0.143, -0.046, 0.989, 0.375, -0.155, 0.087,
0.130, 0, 0.991, 0.226, 0, 0.111,
0.149, -0.012, 0.989, 0.406, 0, 0.087]
@gearQuadStrip2 = [
-1, 0, 0, 0.226, 0, -0.111,
-1, 0, 0, 0.226, 0, 0.111,
-0.924, -0.383, 0, 0.208, 0.086, -0.111,
-0.924, -0.383, 0, 0.208, 0.086, 0.111,
-0.707, -0.707, 0, 0.160, 0.160, -0.111,
-0.707, -0.707, 0, 0.160, 0.160, 0.111,
-0.383, -0.924, 0, 0.086, 0.208, -0.111,
-0.383, -0.924, 0, 0.086, 0.208, 0.111,
0, -1, 0, 0, 0.226, -0.111,
0, -1, 0, 0, 0.226, 0.111,
0.383, -0.924, 0, -0.086, 0.208, -0.111,
0.383, -0.924, 0, -0.086, 0.208, 0.111,
0.707, -0.707, 0, -0.160, 0.160, -0.111,
0.707, -0.707, 0, -0.160, 0.160, 0.111,
0.924, -0.383, 0, -0.208, 0.086, -0.111,
0.924, -0.383, 0, -0.208, 0.086, 0.111,
1, 0, 0, -0.226, 0, -0.111,
1, 0, 0, -0.226, 0, 0.111,
0.924, 0.383, 0, -0.208, -0.086, -0.111,
0.924, 0.383, 0, -0.208, -0.086, 0.111,
0.707, 0.707, 0, -0.160, -0.160, -0.111,
0.707, 0.707, 0, -0.160, -0.160, 0.111,
0.383, 0.924, 0, -0.086, -0.208, -0.111,
0.383, 0.924, 0, -0.086, -0.208, 0.111,
0, 1, 0, 0, -0.226, -0.111,
0, 1, 0, 0, -0.226, 0.111,
-0.383, 0.924, 0, 0.086, -0.208, -0.111,
-0.383, 0.924, 0, 0.086, -0.208, 0.111,
-0.707, 0.707, 0, 0.160, -0.160, -0.111,
-0.707, 0.707, 0, 0.160, -0.160, 0.111,
-0.924, 0.383, 0, 0.208, -0.086, -0.111,
-0.924, 0.383, 0, 0.208, -0.086, 0.111,
-1, 0, 0, 0.226, 0, -0.111,
-1, 0, 0, 0.226, 0, 0.111,
-0.924, -0.383, 0, 0.208, 0.086, -0.111,
-0.924, -0.383, 0, 0.208, 0.086, 0.111]
@gearQuadStrip3 = [
0.149, -0.012, -0.989, 0.406, 0, -0.087,
0.130, 0, -0.991, 0.226, 0, -0.111,
0.133, 0.069, -0.989, 0.375, 0.155, -0.087,
0.120, 0.050, -0.991, 0.208, 0.086, -0.111,
0.114, 0.097, -0.989, 0.287, 0.287, -0.087,
0.092, 0.092, -0.991, 0.160, 0.160, -0.111,
0.046, 0.143, -0.989, 0.155, 0.375, -0.087,
0.050, 0.120, -0.991, 0.086, 0.208, -0.111,
0.012, 0.149, -0.989, 0, 0.406, -0.087,
0, 0.130, -0.991, 0, 0.226, -0.111,
-0.069, 0.133, -0.989, -0.155, 0.375, -0.087,
-0.050, 0.120, -0.991, -0.086, 0.208, -0.111,
-0.097, 0.114, -0.989, -0.287, 0.287, -0.087,
-0.092, 0.092, -0.991, -0.160, 0.160, -0.111,
-0.143, 0.046, -0.989, -0.375, 0.155, -0.087,
-0.120, 0.050, -0.991, -0.208, 0.086, -0.111,
-0.149, 0.012, -0.989, -0.406, 0, -0.087,
-0.130, 0, -0.991, -0.226, 0, -0.111,
-0.133, -0.069, -0.989, -0.375, -0.155, -0.087,
-0.120, -0.050, -0.991, -0.208, -0.086, -0.111,
-0.114, -0.097, -0.989, -0.287, -0.287, -0.087,
-0.092, -0.092, -0.991, -0.160, -0.160, -0.111,
-0.046, -0.143, -0.989, -0.155, -0.375, -0.087,
-0.050, -0.120, -0.991, -0.086, -0.208, -0.111,
-0.012, -0.149, -0.989, 0, -0.406, -0.087,
0, -0.130, -0.991, 0, -0.226, -0.111,
0.069, -0.133, -0.989, 0.155, -0.375, -0.087,
0.050, -0.120, -0.991, 0.086, -0.208, -0.111,
0.097, -0.114, -0.989, 0.287, -0.287, -0.087,
0.092, -0.092, -0.991, 0.160, -0.160, -0.111,
0.143, -0.046, -0.989, 0.375, -0.155, -0.087,
0.120, -0.050, -0.991, 0.208, -0.086, -0.111,
0.149, -0.012, -0.989, 0.406, 0, -0.087,
0.130, 0, -0.991, 0.226, 0, -0.111,
0.133, 0.069, -0.989, 0.375, 0.155, -0.087,
0.120, 0.050, -0.991, 0.208, 0.086, -0.111]
@gearQuads = [
0.981, 0.195, 0, 0.375, 0.155, 0.087,
0.981, 0.195, 0, 0.406, 0, 0.087,
0.981, 0.195, 0, 0.406, 0, -0.087,
0.981, 0.195, 0, 0.375, 0.155, -0.087,
0.556, 0.831, 0, 0.155, 0.375, 0.087,
0.556, 0.831, 0, 0.287, 0.287, 0.087,
0.556, 0.831, 0, 0.287, 0.287, -0.087,
0.556, 0.831, 0, 0.155, 0.375, -0.087,
-0.195, 0.981, 0,-0.155, 0.375, 0.087,
-0.195, 0.981, 0, 0, 0.406, 0.087,
-0.195, 0.981, 0, 0, 0.406, -0.087,
-0.195, 0.981, 0,-0.155, 0.375, -0.087,
-0.831, 0.556, 0,-0.375, 0.155, 0.087,
-0.831, 0.556, 0,-0.287, 0.287, 0.087,
-0.831, 0.556, 0,-0.287, 0.287, -0.087,
-0.831, 0.556, 0,-0.375, 0.155, -0.087,
-0.981, -0.195, 0,-0.375, -0.155, 0.087,
-0.981, -0.195, 0,-0.406, 0, 0.087,
-0.981, -0.195, 0,-0.406, 0, -0.087,
-0.981, -0.195, 0,-0.375, -0.155, -0.087,
-0.556, -0.831, 0,-0.155, -0.375, 0.087,
-0.556, -0.831, 0,-0.287, -0.287, 0.087,
-0.556, -0.831, 0,-0.287, -0.287, -0.087,
-0.556, -0.831, 0,-0.155, -0.375, -0.087,
0.195, -0.981, 0, 0.155, -0.375, 0.087,
0.195, -0.981, 0, 0, -0.406, 0.087,
0.195, -0.981, 0, 0, -0.406, -0.087,
0.195, -0.981, 0, 0.155, -0.375, -0.087,
0.831, -0.556, 0, 0.375, -0.155, 0.087,
0.831, -0.556, 0, 0.287, -0.287, 0.087,
0.831, -0.556, 0, 0.287, -0.287, -0.087,
0.831, -0.556, 0, 0.375, -0.155, -0.087,
-0.021, -1, 0, 0.534, -0.159, -0.056,
-0.021, -1, 0, 0.534, -0.159, 0.056,
-0.021, -1, 0, 0.375, -0.155, 0.087,
-0.021, -1, 0, 0.375, -0.155, -0.087,
0.187, -0.037, -0.982, 0.554, -0.058, -0.056,
0.187, -0.037, -0.982, 0.534, -0.159, -0.056,
0.143, -0.046, -0.989, 0.375, -0.155, -0.087,
0.149, -0.012, -0.989, 0.406, 0, -0.087,
0.363, 0.932, 0, 0.554, -0.058, 0.056,
0.363, 0.932, 0, 0.554, -0.058, -0.056,
0.363, 0.932, 0, 0.406, 0, -0.087,
0.363, 0.932, 0, 0.406, 0, 0.087,
0.981, -0.195, 0, 0.554, -0.058, 0.056,
0.981, -0.195, 0, 0.534, -0.159, 0.056,
0.981, -0.195, 0, 0.534, -0.159, -0.056,
0.981, -0.195, 0, 0.554, -0.058, -0.056,
0.187, -0.037, 0.982, 0.534, -0.159, 0.056,
0.187, -0.037, 0.982, 0.554, -0.058, 0.056,
0.149, -0.012, 0.989, 0.406, 0, 0.087,
0.143, -0.046, 0.989, 0.375, -0.155, 0.087,
-0.722, -0.692, 0, 0.266, -0.490, -0.056,
-0.722, -0.692, 0, 0.266, -0.490, 0.056,
-0.722, -0.692, 0, 0.155, -0.375, 0.087,
-0.722, -0.692, 0, 0.155, -0.375, -0.087,
0.106, -0.159, -0.982, 0.351, -0.433, -0.056,
0.106, -0.159, -0.982, 0.266, -0.490, -0.056,
0.069, -0.133, -0.989, 0.155, -0.375, -0.087,
0.097, -0.114, -0.989, 0.287, -0.287, -0.087,
0.916, 0.402, 0, 0.351, -0.433, 0.056,
0.916, 0.402, 0, 0.351, -0.433, -0.056,
0.916, 0.402, 0, 0.287, -0.287, -0.087,
0.916, 0.402, 0, 0.287, -0.287, 0.087,
0.556, -0.831, 0, 0.351, -0.433, 0.056,
0.556, -0.831, 0, 0.266, -0.490, 0.056,
0.556, -0.831, 0, 0.266, -0.490, -0.056,
0.556, -0.831, 0, 0.351, -0.433, -0.056,
0.106, -0.159, 0.982, 0.266, -0.490, 0.056,
0.106, -0.159, 0.982, 0.351, -0.433, 0.056,
0.097, -0.114, 0.989, 0.287, -0.287, 0.087,
0.069, -0.133, 0.989, 0.155, -0.375, 0.087,
-1, 0.021, 0,-0.159, -0.534, -0.056,
-1, 0.021, 0,-0.159, -0.534, 0.056,
-1, 0.021, 0,-0.155, -0.375, 0.087,
-1, 0.021, 0,-0.155, -0.375, -0.087,
-0.037, -0.187, -0.982,-0.058, -0.554, -0.056,
-0.037, -0.187, -0.982,-0.159, -0.534, -0.056,
-0.046, -0.143, -0.989,-0.155, -0.375, -0.087,
-0.012, -0.149, -0.989, 0, -0.406, -0.087,
0.932, -0.363, 0,-0.058, -0.554, 0.056,
0.932, -0.363, 0,-0.058, -0.554, -0.056,
0.932, -0.363, 0, 0, -0.406, -0.087,
0.932, -0.363, 0, 0, -0.406, 0.087,
-0.195, -0.981, 0,-0.058, -0.554, 0.056,
-0.195, -0.981, 0,-0.159, -0.534, 0.056,
-0.195, -0.981, 0,-0.159, -0.534, -0.056,
-0.195, -0.981, 0,-0.058, -0.554, -0.056,
-0.037, -0.187, 0.982,-0.159, -0.534, 0.056,
-0.037, -0.187, 0.982,-0.058, -0.554, 0.056,
-0.012, -0.149, 0.989, 0, -0.406, 0.087,
-0.046, -0.143, 0.989,-0.155, -0.375, 0.087,
-0.692, 0.722, 0,-0.490, -0.266, -0.056,
-0.692, 0.722, 0,-0.490, -0.266, 0.056,
-0.692, 0.722, 0,-0.375, -0.155, 0.087,
-0.692, 0.722, 0,-0.375, -0.155, -0.087,
-0.159, -0.106, -0.982,-0.433, -0.351, -0.056,
-0.159, -0.106, -0.982,-0.490, -0.266, -0.056,
-0.133, -0.069, -0.989,-0.375, -0.155, -0.087,
-0.114, -0.097, -0.989,-0.287, -0.287, -0.087,
0.402, -0.916, 0,-0.433, -0.351, 0.056,
0.402, -0.916, 0,-0.433, -0.351, -0.056,
0.402, -0.916, 0,-0.287, -0.287, -0.087,
0.402, -0.916, 0,-0.287, -0.287, 0.087,
-0.831, -0.556, 0,-0.433, -0.351, 0.056,
-0.831, -0.556, 0,-0.490, -0.266, 0.056,
-0.831, -0.556, 0,-0.490, -0.266, -0.056,
-0.831, -0.556, 0,-0.433, -0.351, -0.056,
-0.159, -0.106, 0.982,-0.490, -0.266, 0.056,
-0.159, -0.106, 0.982,-0.433, -0.351, 0.056,
-0.114, -0.097, 0.989,-0.287, -0.287, 0.087,
-0.133, -0.069, 0.989,-0.375, -0.155, 0.087,
0.021, 1, 0,-0.534, 0.159, -0.056,
0.021, 1, 0,-0.534, 0.159, 0.056,
0.021, 1, 0,-0.375, 0.155, 0.087,
0.021, 1, 0,-0.375, 0.155, -0.087,
-0.187, 0.037, -0.982,-0.554, 0.058, -0.056,
-0.187, 0.037, -0.982,-0.534, 0.159, -0.056,
-0.143, 0.046, -0.989,-0.375, 0.155, -0.087,
-0.149, 0.012, -0.989,-0.406, 0, -0.087,
-0.363, -0.932, 0,-0.554, 0.058, 0.056,
-0.363, -0.932, 0,-0.554, 0.058, -0.056,
-0.363, -0.932, 0,-0.406, 0, -0.087,
-0.363, -0.932, 0,-0.406, 0, 0.087,
-0.981, 0.195, 0,-0.554, 0.058, 0.056,
-0.981, 0.195, 0,-0.534, 0.159, 0.056,
-0.981, 0.195, 0,-0.534, 0.159, -0.056,
-0.981, 0.195, 0,-0.554, 0.058, -0.056,
-0.187, 0.037, 0.982,-0.534, 0.159, 0.056,
-0.187, 0.037, 0.982,-0.554, 0.058, 0.056,
-0.149, 0.012, 0.989,-0.406, 0, 0.087,
-0.143, 0.046, 0.989,-0.375, 0.155, 0.087,
0.722, 0.692, 0,-0.266, 0.490, -0.056,
0.722, 0.692, 0,-0.266, 0.490, 0.056,
0.722, 0.692, 0,-0.155, 0.375, 0.087,
0.722, 0.692, 0,-0.155, 0.375, -0.087,
-0.106, 0.159, -0.982,-0.351, 0.433, -0.056,
-0.106, 0.159, -0.982,-0.266, 0.490, -0.056,
-0.069, 0.133, -0.989,-0.155, 0.375, -0.087,
-0.097, 0.114, -0.989,-0.287, 0.287, -0.087,
-0.916, -0.402, 0,-0.351, 0.433, 0.056,
-0.916, -0.402, 0,-0.351, 0.433, -0.056,
-0.916, -0.402, 0,-0.287, 0.287, -0.087,
-0.916, -0.402, 0,-0.287, 0.287, 0.087,
-0.556, 0.831, 0,-0.351, 0.433, 0.056,
-0.556, 0.831, 0,-0.266, 0.490, 0.056,
-0.556, 0.831, 0,-0.266, 0.490, -0.056,
-0.556, 0.831, 0,-0.351, 0.433, -0.056,
-0.106, 0.159, 0.982,-0.266, 0.490, 0.056,
-0.106, 0.159, 0.982,-0.351, 0.433, 0.056,
-0.097, 0.114, 0.989,-0.287, 0.287, 0.087,
-0.069, 0.133, 0.989,-0.155, 0.375, 0.087,
1, -0.021, 0, 0.159, 0.534, -0.056,
1, -0.021, 0, 0.159, 0.534, 0.056,
1, -0.021, 0, 0.155, 0.375, 0.087,
1, -0.021, 0, 0.155, 0.375, -0.087,
0.037, 0.187, -0.982, 0.058, 0.554, -0.056,
0.037, 0.187, -0.982, 0.159, 0.534, -0.056,
0.046, 0.143, -0.989, 0.155, 0.375, -0.087,
0.012, 0.149, -0.989, 0, 0.406, -0.087,
-0.932, 0.363, 0, 0.058, 0.554, 0.056,
-0.932, 0.363, 0, 0.058, 0.554, -0.056,
-0.932, 0.363, 0, 0, 0.406, -0.087,
-0.932, 0.363, 0, 0, 0.406, 0.087,
0.195, 0.981, 0, 0.058, 0.554, 0.056,
0.195, 0.981, 0, 0.159, 0.534, 0.056,
0.195, 0.981, 0, 0.159, 0.534, -0.056,
0.195, 0.981, 0, 0.058, 0.554, -0.056,
0.037, 0.187, 0.982, 0.159, 0.534, 0.056,
0.037, 0.187, 0.982, 0.058, 0.554, 0.056,
0.012, 0.149, 0.989, 0, 0.406, 0.087,
0.046, 0.143, 0.989, 0.155, 0.375, 0.087,
0.692, -0.722, 0, 0.490, 0.266, -0.056,
0.692, -0.722, 0, 0.490, 0.266, 0.056,
0.692, -0.722, 0, 0.375, 0.155, 0.087,
0.692, -0.722, 0, 0.375, 0.155, -0.087,
0.159, 0.106, -0.982, 0.433, 0.351, -0.056,
0.159, 0.106, -0.982, 0.490, 0.266, -0.056,
0.133, 0.069, -0.989, 0.375, 0.155, -0.087,
0.114, 0.097, -0.989, 0.287, 0.287, -0.087,
-0.402, 0.916, 0, 0.433, 0.351, 0.056,
-0.402, 0.916, 0, 0.433, 0.351, -0.056,
-0.402, 0.916, 0, 0.287, 0.287, -0.087,
-0.402, 0.916, 0, 0.287, 0.287, 0.087,
0.831, 0.556, 0, 0.433, 0.351, 0.056,
0.831, 0.556, 0, 0.490, 0.266, 0.056,
0.831, 0.556, 0, 0.490, 0.266, -0.056,
0.831, 0.556, 0, 0.433, 0.351, -0.056,
0.159, 0.106, 0.982, 0.490, 0.266, 0.056,
0.159, 0.106, 0.982, 0.433, 0.351, 0.056,
0.114, 0.097, 0.989, 0.287, 0.287, 0.087,
0.133, 0.069, 0.989, 0.375, 0.155, 0.087]
module.exports = Geom