torque Torque Game Engine Documentation
TGE Version 1.5.2

Raindrop Struct Reference

#include <precipitation.h>


Public Member Functions

 Raindrop ()

Data Fields

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.
RaindropnextSplashDrop
 Linked list cruft for easily adding/removing stuff from the splash list.
RaindropprevSplashDrop
 Same as next but previous!
SimTime animStartTime
 Animation time tracker.
U32 splashIndex
 Texture index for which frame of the splash to render.
U32 hitType
 What kind of object the drop will hit.
Raindropnext
 linked list cruft


Constructor & Destructor Documentation

Raindrop::Raindrop (  )  [inline]


Field 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.

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

Same as next but previous!

Animation time tracker.

Texture index for which frame of the splash to render.

What kind of object the drop will hit.

linked list cruft




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen