blob: ddd8abdea8366941f1796b865a1d2e328aa8a601 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/*
render/particle.cc
This file is part of the Osirion project and is distributed under
the terms of the GNU General Public License version 2
*/
#include "render/particle.h"
namespace render
{
/* ---- class Particle --------------------------------------------- */
Particle::Particle(const math::Vector3f &location, const unsigned long timestamp) :
particle_location(location)
{
particle_timestamp = timestamp;
}
Particle::Particle(const math::Vector3f &location, const math::Vector3f &velocity, const unsigned long timestamp) :
particle_location(location),
particle_velocity(velocity)
{
particle_timestamp = timestamp;
}
} //namespace render
|