24 lines
595 B
C#
24 lines
595 B
C#
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);
|
|
}
|
|
}
|