Update pistol.js

leading zeroes
This commit is contained in:
James B. Pollack 2015-12-29 18:38:57 -08:00
parent 4cc94b44ba
commit 5caa6cbdbf

View file

@ -251,11 +251,11 @@
"z": 0 "z": 0
}, },
"accelerationSpread": { "accelerationSpread": {
"x": .2, "x": 0.2,
"y": 0, "y": 0,
"z": .2 "z": 0.2
}, },
"radiusSpread": .04, "radiusSpread": 0.04,
"particleRadius": 0.07, "particleRadius": 0.07,
"radiusStart": 0.07, "radiusStart": 0.07,
"radiusFinish": 0.07, "radiusFinish": 0.07,
@ -294,7 +294,7 @@
lineWidth: 2 lineWidth: 2
}); });
this.laserOffsets = { this.laserOffsets = {
y: .095 y: 0.095
}; };
this.firingOffsets = { this.firingOffsets = {
z: 0.16 z: 0.16
@ -373,4 +373,4 @@
// entity scripts always need to return a newly constructed object of our type // entity scripts always need to return a newly constructed object of our type
return new Pistol(); return new Pistol();
}); });