blob: 6774cdee36007724d1260ecba820ddbf9a5f9e98 (
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
29
30
31
32
33
34
35
|
/*
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_speed = 0.0f;
particle_radius = 0.0f;
}
Particle::Particle(const math::Vector3f &location, const math::Axis &axis, const unsigned long timestamp) :
particle_location(location),
particle_axis(axis)
{
particle_timestamp = timestamp;
particle_speed = 0.0f;
particle_radius = 0.0f;
}
} //namespace render
|