UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Weather::particle Struct Reference

#include <r_weather.h>

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

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().

int Weather::particle::ttl

< milliseconds to physics update

Definition at line 64 of file r_weather.h.

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

GLfloat Weather::particle::vx

< position

Definition at line 62 of file r_weather.h.

Referenced by Weather::update().

GLfloat Weather::particle::vy

Definition at line 62 of file r_weather.h.

Referenced by Weather::update().

GLfloat Weather::particle::vz

Definition at line 62 of file r_weather.h.

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

GLfloat Weather::particle::x

Definition at line 61 of file r_weather.h.

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

GLfloat Weather::particle::y

Definition at line 61 of file r_weather.h.

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

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: