Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
blob: 5925ba5a14292a9e9ea4b860cabbb58d18e24c0d (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
36
37
/*
   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_alpha = 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;
	particle_alpha = 0.0f;
}

} //namespace render