2024-01-23 18:39:25 +03:00
|
|
|
using Syntriax.Engine.Physics2D.Abstract;
|
|
|
|
|
|
|
|
namespace Syntriax.Engine.Physics2D;
|
|
|
|
|
2024-01-26 23:40:02 +03:00
|
|
|
public readonly struct PhysicsMaterial2D(float Friction, float Restitution) : IPhysicsMaterial2D
|
|
|
|
{
|
|
|
|
public readonly float Friction { get; init; } = Friction;
|
|
|
|
public readonly float Restitution { get; init; } = Restitution;
|
|
|
|
}
|