Zappy GUI
C++ graphic client: renderer, camera, network
Loading...
Searching...
No Matches
DrawTypes.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "raylib.h"
4
5struct Particle {
6 Vector3 pos;
7 Vector3 vel;
8 Color color;
9 float size;
10 float alpha; // 1.0 → 0.0
11 float delay; // seconds before particle activates
12 bool active = false;
13};
14
16 Vector3 a;
17 Vector3 b;
18 Color color;
19 float alpha;
20};
Vector3 a
Definition DrawTypes.hpp:16
Vector3 b
Definition DrawTypes.hpp:17
float alpha
Definition DrawTypes.hpp:10
Vector3 pos
Definition DrawTypes.hpp:6
Vector3 vel
Definition DrawTypes.hpp:7
bool active
Definition DrawTypes.hpp:12
float delay
Definition DrawTypes.hpp:11
Color color
Definition DrawTypes.hpp:8
float size
Definition DrawTypes.hpp:9