Muto 0.0.1
Cross-Platform Application Template
GitHub Repo | Muto Updates | Muto's Author
Loading...
Searching...
No Matches
ParticleSystem.h File Reference

Defines the ParticleSystem class, which is responsible for rendering a simple particle system. This is a temporary implementation and will be replaced with a more robust implementation in the future. More...

#include <glm/glm.hpp>
#include "Core/Timestep.h"

Go to the source code of this file.

Classes

struct  Muto::Particle
 
struct  Muto::ParticleProps
 
class  Muto::ParticleSystem
 A simple particle system for stress testing the renderer. This is a temporary starter particle system and will be replaced with a more robust implementation in the future. More...
 

Namespaces

namespace  Muto
 The main namespace for the Muto engine.
 

Detailed Description

Defines the ParticleSystem class, which is responsible for rendering a simple particle system. This is a temporary implementation and will be replaced with a more robust implementation in the future.

Author
Damon S. Green II

Class Documentation

◆ Muto::Particle

struct Muto::Particle
Class Members
bool Active = false
vec4 ColorBegin
vec4 ColorEnd
float LifeRemaining = 0.0f
float Lifetime = 0.0f
vec3 Position
float Rotation
float SizeBegin
float SizeEnd
vec3 Velocity

◆ Muto::ParticleProps

struct Muto::ParticleProps
Class Members
vec4 ColorBegin = { 1.0f, 1.0f, 1.0f, 1.0f }
vec4 ColorEnd = { 1.0f, 1.0f, 1.0f, 1.0f }
float Lifetime = 1.0f
float LifetimeVariation = 0.0f
vec3 Position = { 0.0f, 0.0f, 0.0f }
vec3 PositionVariation = { 0.0f, 0.0f, 0.0f }
float Rotation = 0.0f
float RotationVariation = 0.0f
float SizeBegin = 1.0f
float SizeEnd = 0.0f
float SizeVariation = 0.0f
vec3 Velocity = { 0.0f, 0.0f, 0.0f }
vec3 VelocityVariation = { 0.0f, 0.0f, 0.0f }