This commit is contained in:
Dominic Szablewski
2021-09-13 09:34:08 +02:00
commit a844ba46f8
95 changed files with 11727 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
class entity_particle_t extends entity_t {
_init() {
this._bounciness = 0.5;
this.f = 0.1;
}
_update() {
this._yaw += this.v.y * 0.001;
this._pitch += this.v.x * 0.001;
this._update_physics();
this._draw_model();
}
}