UFO: Alien Invasion
Loading...
Searching...
No Matches
Weather::particle Struct Reference

#include <r_weather.h>

Collaboration diagram for Weather::particle:
Collaboration graph

Data Fields

GLfloat x
GLfloat y
GLfloat z
GLfloat vx
GLfloat vy
GLfloat vz
int timeout
int ttl

Detailed Description

Definition at line 60 of file r_weather.h.

Field Documentation

◆ timeout

int Weather::particle::timeout

< current velocity; vz == 0 indicates a splash particle

Definition at line 63 of file r_weather.h.

Referenced by Weather::update().

◆ ttl

int Weather::particle::ttl

< milliseconds to physics update

Definition at line 64 of file r_weather.h.

Referenced by Weather::render(), and Weather::update().

◆ vx

GLfloat Weather::particle::vx

< position

Definition at line 62 of file r_weather.h.

Referenced by Weather::update().

◆ vy

GLfloat Weather::particle::vy

Definition at line 62 of file r_weather.h.

Referenced by Weather::update().

◆ vz

GLfloat Weather::particle::vz

Definition at line 62 of file r_weather.h.

Referenced by Weather::render(), and Weather::update().

◆ x

GLfloat Weather::particle::x

Definition at line 61 of file r_weather.h.

Referenced by Weather::render(), and Weather::update().

◆ y

GLfloat Weather::particle::y

Definition at line 61 of file r_weather.h.

Referenced by Weather::render(), and Weather::update().

◆ z

GLfloat Weather::particle::z

Definition at line 61 of file r_weather.h.

Referenced by Weather::render(), and Weather::update().


The documentation for this struct was generated from the following file: