mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-24 12:06:37 +00:00
14 lines
331 B
C#
14 lines
331 B
C#
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);
|
|
}
|
|
}
|
|
} |