Raindrop Struct Reference

#include <precipitation.h>

List of all members.

Public Member Functions

 Raindrop ()

Public Attributes

F32 velocity
 How fast the drop is falling downwards.
Point3F position
 Position of the drop.
Point3F renderPosition
 Interpolated render-position of the drop.
F32 time
 Time into the turbulence function.
F32 mass
 Mass of drop used for how much turbulence/wind effects the drop.
U32 texCoordIndex
 Which piece of the material will be used.
bool toRender
 Don't want to render all drops, just the ones that pass a few tests.
bool valid
 Drop becomes invalid after hitting something.
Point3F hitPos
 Point at which the drop will collide with something.
U32 hitType
 What kind of object the drop will hit.
RaindropnextSplashDrop
 Linked list cruft for easily adding/removing stuff from the splash list.
RaindropprevSplashDrop
 Same as next but previous!
SimTime animStartTime
 Animation time tracker.
Raindropnext
 linked list cruft


Constructor & Destructor Documentation

Raindrop::Raindrop (  )  [inline]


Member Data Documentation

How fast the drop is falling downwards.

Position of the drop.

Interpolated render-position of the drop.

Time into the turbulence function.

Mass of drop used for how much turbulence/wind effects the drop.

Which piece of the material will be used.

Don't want to render all drops, just the ones that pass a few tests.

Drop becomes invalid after hitting something.

Just keep updating the position of it, but don't render until it hits the bottom of the renderbox and respawns

Point at which the drop will collide with something.

What kind of object the drop will hit.

Linked list cruft for easily adding/removing stuff from the splash list.

Same as next but previous!

Animation time tracker.

linked list cruft