diff options
| author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-14 13:14:01 +0100 | 
|---|---|---|
| committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-14 13:14:01 +0100 | 
| commit | 76d3108c44d6920c8f6f245c80c10a15267f1d3b (patch) | |
| tree | 972c6c26cd7cf36f2af6167e863de6d0120ecf60 /src | |
| parent | e30057abadb5372d84230fa4ce4238528177a9bf (diff) | |
change position to offset
Diffstat (limited to 'src')
| -rw-r--r-- | src/crepe/api/ParticleEmitter.h | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/crepe/api/ParticleEmitter.h b/src/crepe/api/ParticleEmitter.h index be970f5..8ac2e72 100644 --- a/src/crepe/api/ParticleEmitter.h +++ b/src/crepe/api/ParticleEmitter.h @@ -49,8 +49,8 @@ public:  	 * and the sprite used for rendering particles.  	 */  	struct Data { -		//! position of the emitter -		vec2 position; +		//! offset of the emitter relative to transform +		vec2 offset;  		//! maximum number of particles  		const unsigned int max_particles = 256;  		//! rate of particle emission per second |