definida interfaz para sólidos rígidos

This commit is contained in:
alexb737
2022-10-06 10:46:18 +02:00
parent 79f04cdd72
commit e96f445c75

View File

@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace Q01_Cálculos
{
/// <summary>
/// Definimos una interfaz para normalizar clases que representan un cuerpo rígido con masa
/// </summary>
public interface IRigidBody
{
public string Name { get; }
public float Mass { get; }
public Vector3 CenterOfMass { get; }
public Vector3 Weight{ get; }
public int GetChildItemCount(bool Recursive);
string Summary(int pad = 0);
}
}