summaryrefslogtreecommitdiff
path: root/Plugins/MonoGame.Extended/source/MonoGame.Extended.Particles/Profiles/PointProfile.cs
blob: 04456d3f2652e20830f1b9cdbca9af86e249d9cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using Microsoft.Xna.Framework;

namespace MonoGame.Extended.Particles.Profiles
{
    public class PointProfile : Profile
    {
        public override void GetOffsetAndHeading(out Vector2 offset, out Vector2 heading)
        {
            offset = Vector2.Zero;

            Random.NextUnitVector(out heading);
        }
    }
}