Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/particleEngine/src/lib/graphics/particles/particle_emitter.cc @ 3928

Last change on this file since 3928 was 3928, checked in by patrick, 19 years ago

orxonox/branches/particle/system: implemented a ParticleEmitter constructormake

File size: 949 bytes
Line 
1/*
2   orxonox - the future of 3D-vertical-scrollers
3
4   Copyright (C) 2004 orx
5
6   This program is free software; you can redistribute it and/or modify
7   it under the terms of the GNU General Public License as published by
8   the Free Software Foundation; either version 2, or (at your option)
9   any later version.
10
11   ### File Specific:
12   main-programmer: ...
13   co-programmer: Patrick Boenzli
14*/
15
16//#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD_ENTITY
17
18#include "particle_emitter.h"
19
20using namespace std;
21
22
23/**
24   \brief standard constructor
25*/
26ParticleEmitter::ParticleEmitter(const Vector& direction, float angle, float emissionRate, 
27                  float velocity, float ttl)
28{
29   this->setClassName ("ParticleEmitter");
30   this->direction = direction;
31   this->angle = angle;
32   this->emissionRate = emissionRate;
33   this->velocity = velocity;
34   this->ttl = ttl;
35}
36
37
38
39/**
40   \brief standard destructor
41
42*/
43ParticleEmitter::~ParticleEmitter () 
44{}
Note: See TracBrowser for help on using the repository browser.