10 lines
312 B
C#
10 lines
312 B
C#
using Syntriax.Engine.Physics2D.Abstract;
|
|
|
|
namespace Syntriax.Engine.Physics2D;
|
|
|
|
public readonly struct PhysicsMaterial2D(float Friction, float Restitution) : IPhysicsMaterial2D
|
|
{
|
|
public readonly float Friction { get; init; } = Friction;
|
|
public readonly float Restitution { get; init; } = Restitution;
|
|
}
|