Remove obsolete Gauss1D/Gauss2D functions.

This commit is contained in:
Paul Chote
2013-07-22 20:21:23 +12:00
parent b374816fa1
commit bf9c737a11
3 changed files with 4 additions and 17 deletions

View File

@@ -76,7 +76,7 @@ namespace OpenRA.Mods.RA
length = (finalPos - initialPos).Length / info.Velocity;
// Facing rotation
rotation = Game.CosmeticRandom.Gauss1D(2) * info.ROT;
rotation = WRange.FromPDF(Game.CosmeticRandom, 2).Range * info.ROT / 1024;
var anim = new Animation(rs.GetImage(self), () => (int)facing);
anim.PlayRepeating(info.Anim);