ManaPlus
Variables
particle.cpp File Reference

(642df39)

#include "particle/particle.h"
#include "actormanager.h"
#include "logger.h"
#include "being/actorsprite.h"
#include "particle/animationparticle.h"
#include "particle/particleemitter.h"
#include "particle/rotationalparticle.h"
#include "resources/animation/simpleanimation.h"
#include "resources/dye/dye.h"
#include "resources/image/image.h"
#include "resources/loaders/imageloader.h"
#include "resources/loaders/xmlloader.h"
#include "utils/delete2.h"
#include "utils/dtor.h"
#include "utils/foreach.h"
#include "utils/likely.h"
#include "utils/mathutils.h"
#include "utils/mrand.h"
#include "debug.h"

Go to the source code of this file.

Variables

static const float SIN45 = 0.707106781F
 
static const double PI = M_PI
 
static const float PI2 = 2 * M_PI
 

Variable Documentation

◆ PI

const double PI = M_PI
static

Definition at line 53 of file particle.cpp.

Referenced by Particle::update().

◆ PI2

const float PI2 = 2 * M_PI
static

Definition at line 54 of file particle.cpp.

Referenced by Particle::update().

◆ SIN45

const float SIN45 = 0.707106781F
static

Definition at line 52 of file particle.cpp.

Referenced by Particle::updateSelf().