Particle

D-Dimensional Particle with Cartesian Coordinate position and velocity of Element (Component) Type E.

struct Particle (
E
uint D
bool normalizedVelocityFlag = false
) if (
D >= 1
) {
Point!(E, D) position;
Vector!(E, D, normalizedVelocityFlag) velocity;
E mass;
}

Meta