forked from gregtour/cybertanks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeshes.js
8 lines (5 loc) · 6.15 KB
/
meshes.js
1
2
3
4
5
6
7
8
// models by greg
// (box is my favorite)
TANK_MESH = {"count":48,"vertices":[1.167307,0.682266,0.503587,1.545776,0.014036,1.025895,1.167307,0.682266,-0.454115,1.545776,0.014036,1.025895,1.545776,0.014036,-0.976423,1.167307,0.682266,-0.454115,1.167307,0.682266,-0.454115,1.545776,0.014036,-0.976423,-0.58051,0.682266,-0.363133,1.545776,0.014036,-0.976423,-1.53071,0.014036,-0.976423,-0.58051,0.682266,-0.363133,-0.58051,0.682266,-0.363133,-1.53071,0.014036,-0.976423,-0.580509,0.682266,0.412606,-1.53071,0.014036,-0.976423,-1.53071,0.014036,1.025895,-0.580509,0.682266,0.412606,-0.580509,0.682266,0.412606,-1.53071,0.014036,1.025895,1.167307,0.682266,0.503587,-1.53071,0.014036,1.025895,1.545776,0.014036,1.025895,1.167307,0.682266,0.503587,-0.580509,0.682266,0.412606,1.167307,0.682266,0.503587,-0.58051,0.682266,-0.363133,1.167307,0.682266,0.503587,1.167307,0.682266,-0.454115,-0.58051,0.682266,-0.363133,1.545776,0.014036,1.025895,-1.53071,0.014036,1.025895,1.545776,0.014036,-0.976423,-1.53071,0.014036,1.025895,-1.53071,0.014036,-0.976423,1.545776,0.014036,-0.976423,0.638483,0.922296,0.222402,0.815716,0.68021,0.32601,0.638483,0.922296,-0.172929,0.815716,0.68021,0.32601,0.815716,0.68021,-0.276537,0.638483,0.922296,-0.172929,0.638483,0.922296,-0.172929,0.815716,0.68021,-0.276537,-0.037777,0.922296,-0.172929,0.815716,0.68021,-0.276537,-0.21501,0.68021,-0.276537,-0.037777,0.922296,-0.172929,-0.037777,0.922296,-0.172929,-0.21501,0.68021,-0.276537,-0.037777,0.922296,0.222402,-0.21501,0.68021,-0.276537,-0.21501,0.68021,0.32601,-0.037777,0.922296,0.222402,-0.037777,0.922296,0.222402,-0.21501,0.68021,0.32601,0.638483,0.922296,0.222402,-0.21501,0.68021,0.32601,0.815716,0.68021,0.32601,0.638483,0.922296,0.222402,-0.037777,0.922296,0.222402,0.638483,0.922296,0.222402,-0.037777,0.922296,-0.172929,0.638483,0.922296,0.222402,0.638483,0.922296,-0.172929,-0.037777,0.922296,-0.172929,0.815716,0.68021,0.32601,-0.21501,0.68021,0.32601,0.815716,0.68021,-0.276537,-0.21501,0.68021,0.32601,-0.21501,0.68021,-0.276537,0.815716,0.68021,-0.276537,-0.972211,0.355986,-0.304011,-0.972211,0.266512,-0.304011,-0.972211,0.355986,-0.416096,-0.972211,0.266512,-0.304011,-0.972211,0.266512,-0.416096,-0.972211,0.355986,-0.416096,-0.972211,0.355986,-0.416096,-0.972211,0.266512,-0.416096,-1.519424,0.355986,-0.416096,-0.972211,0.266512,-0.416096,-1.519424,0.266512,-0.416096,-1.519424,0.355986,-0.416096,-1.519424,0.355986,-0.416096,-1.519424,0.266512,-0.416096,-1.519424,0.355986,-0.304011,-1.519424,0.266512,-0.416096,-1.519424,0.266512,-0.304011,-1.519424,0.355986,-0.304011,-1.519424,0.355986,-0.304011,-1.519424,0.266512,-0.304011,-0.972211,0.355986,-0.304011,-1.519424,0.266512,-0.304011,-0.972211,0.266512,-0.304011,-0.972211,0.355986,-0.304011,-1.519424,0.355986,-0.304011,-0.972211,0.355986,-0.304011,-1.519424,0.355986,-0.416096,-0.972211,0.355986,-0.304011,-0.972211,0.355986,-0.416096,-1.519424,0.355986,-0.416096,-0.972211,0.266512,-0.304011,-1.519424,0.266512,-0.304011,-0.972211,0.266512,-0.416096,-1.519424,0.266512,-0.304011,-1.519424,0.266512,-0.416096,-0.972211,0.266512,-0.416096,-0.972211,0.355986,0.465569,-0.972211,0.266512,0.353485,-0.972211,0.355986,0.353485,-0.972211,0.355986,0.465569,-0.972211,0.266512,0.465569,-0.972211,0.266512,0.353485,-1.519424,0.355986,0.465569,-0.972211,0.266512,0.465569,-0.972211,0.355986,0.465569,-1.519424,0.355986,0.465569,-1.519424,0.266512,0.465569,-0.972211,0.266512,0.465569,-1.519424,0.355986,0.353485,-1.519424,0.266512,0.465569,-1.519424,0.355986,0.465569,-1.519424,0.355986,0.353485,-1.519424,0.266512,0.353485,-1.519424,0.266512,0.465569,-0.972211,0.355986,0.353485,-1.519424,0.266512,0.353485,-1.519424,0.355986,0.353485,-0.972211,0.355986,0.353485,-0.972211,0.266512,0.353485,-1.519424,0.266512,0.353485,-1.519424,0.355986,0.465569,-0.972211,0.355986,0.353485,-1.519424,0.355986,0.353485,-1.519424,0.355986,0.465569,-0.972211,0.355986,0.465569,-0.972211,0.355986,0.353485,-0.972211,0.266512,0.465569,-1.519424,0.266512,0.353485,-0.972211,0.266512,0.353485,-0.972211,0.266512,0.465569,-1.519424,0.266512,0.465569,-1.519424,0.266512,0.353485],"uvs":[0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,1,0,0,1,0,0,1,0,1,1,0,1,1,0,0,1,0,0,1,0,1,1,0,1,1,0,0,1,0,0,1,0,1,1,0,1,1,0,0,1,0,0,1,0,1,1,0,1,1,0,0,1,0,0,1,0,1,1,0,1,1,0,0,1,0,0,1,0,1,1,0,1]};
BOX_MESH = {"count":12,"vertices":[0,1,1,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,0,1,1,1,0,1,0,1,1,0,0,1,1,0,1,1,0,1,0,0,0,1,0,1,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,1,1,0,0,0,0,0,1,0,1,1,0,1,0,0,1,1,1,1,0,0,1,1,1,1,1,1,1,0,0,0,1,0,0,0,1,0,1,0,0,0,1,0,0,1,0,1],"uvs":[0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0]};
BULLET_MESH = {"count":12,"vertices":[0.408321,0.04406,0.055932,0.408321,-0.045414,-0.056153,0.408321,0.04406,-0.056153,0.408321,0.04406,0.055932,0.408321,-0.045414,0.055932,0.408321,-0.045414,-0.056153,-0.412499,0.04406,0.055932,0.408321,-0.045414,0.055932,0.408321,0.04406,0.055932,-0.412499,0.04406,0.055932,-0.412499,-0.045414,0.055932,0.408321,-0.045414,0.055932,-0.412499,0.04406,-0.056153,-0.412499,-0.045414,0.055932,-0.412499,0.04406,0.055932,-0.412499,0.04406,-0.056153,-0.412499,-0.045414,-0.056153,-0.412499,-0.045414,0.055932,0.408321,0.04406,-0.056153,-0.412499,-0.045414,-0.056153,-0.412499,0.04406,-0.056153,0.408321,0.04406,-0.056153,0.408321,-0.045414,-0.056153,-0.412499,-0.045414,-0.056153,-0.412499,0.04406,0.055932,0.408321,0.04406,-0.056153,-0.412499,0.04406,-0.056153,-0.412499,0.04406,0.055932,0.408321,0.04406,0.055932,0.408321,0.04406,-0.056153,0.408321,-0.045414,0.055932,-0.412499,-0.045414,-0.056153,0.408321,-0.045414,-0.056153,0.408321,-0.045414,0.055932,-0.412499,-0.045414,0.055932,-0.412499,-0.045414,-0.056153],"uvs":[1,0,0,1,0,0,1,0,1,1,0,1,1,0,0,1,0,0,1,0,1,1,0,1,1,0,0,1,0,0,1,0,1,1,0,1,1,0,0,1,0,0,1,0,1,1,0,1,1,0,0,1,0,0,1,0,1,1,0,1,1,0,0,1,0,0,1,0,1,1,0,1]};