LibGame v0.4.0
The LG Game Engine - Copyright (C) 2024-2026 ETMSoftware
Loading...
Searching...
No Matches
lg_part_sys.h
1/*
2 * LibGame - Copyright (C) Emmanuel Thomas-Maurin 2011-2026
3 * All rights reserved
4 */
5
6#ifndef LG_PART_SYS_H
7#define LG_PART_SYS_H
8
9/* Particles system */
10
11/* Speed is a scalar whereas velocity is a vec3 */
12
13typedef struct {
14 vec3_t center;
15 Rec2Df rec2d;
16 LG_Texture *tex;
17 vec3_t velocity;
18 LG_Color_u color;
19 uint32_t time;
20 uint32_t full_time;
22
24
25#endif /* LG_PART_SYS_H */
LG_Particle lg_particle(vec3_t center, Rec2Df rec2d, LG_Texture *tex, vec3_t velocity, LG_Color_u color, uint32_t time, uint32_t full_time)
Definition lg_part_sys.c:26
Definition lg_vertex.h:111
Definition lg_part_sys.h:13
Definition lg_textures.h:45
Definition lg_gr_func.h:56
Definition math_3d.h:123