WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
particle.cpp File Reference
#include "Bone.h"
#include "particle.h"
#include "GlobalSettings.h"
#include "WoWModel.h"
#include "Logger.h"
#include "glm/gtc/type_ptr.hpp"
#include <cmath>
Include dependency graph for particle.cpp:

Go to the source code of this file.

Enumerations

enum  { MAX_PARTICLES = 10000 }
 

Functions

template<class T >
lifeRamp (float life, float mid, const T &a, const T &b, const T &c)
 
void CalcSpreadMatrix (float Spread1, float Spread2, float w, float l)
 

Variables

constexpr float Epsilon = 1e-6f
 
static glm::mat4 SpreadMat
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
MAX_PARTICLES 

Definition at line 12 of file particle.cpp.

Function Documentation

◆ CalcSpreadMatrix()

void CalcSpreadMatrix ( float  Spread1,
float  Spread2,
float  w,
float  l 
)

Definition at line 503 of file particle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ lifeRamp()

template<class T >
T lifeRamp ( float  life,
float  mid,
const T &  a,
const T &  b,
const T &  c 
)

Definition at line 20 of file particle.cpp.

Variable Documentation

◆ Epsilon

constexpr float Epsilon = 1e-6f
constexpr

Definition at line 10 of file particle.cpp.

◆ SpreadMat

glm::mat4 SpreadMat
static

Definition at line 501 of file particle.cpp.