23 lines
455 B
C++
23 lines
455 B
C++
/** @file Particle.cpp
|
|
*
|
|
* @author Cory Alexander Balaton (coryab)
|
|
* @author Janita Ovidie Sandtrøen Willumsen (janitaws)
|
|
*
|
|
* @version 1.0
|
|
*
|
|
* @brief The implementation of the Particle class.
|
|
*
|
|
* @bug No known bugs
|
|
* */
|
|
|
|
#include "Particle.hpp"
|
|
|
|
Particle::Particle(vec3 r_vec, vec3 v_vec, double q, double m)
|
|
{
|
|
// Giving the particle its properties
|
|
this->r_vec = r_vec;
|
|
this->v_vec = v_vec;
|
|
this->q = q;
|
|
this->m = m;
|
|
}
|