VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtRaindropParticle.h
Go to the documentation of this file.
1 /*****************************************************************************
2 * Copyright (c) 2020 MAK Technologies, Inc.
3 * All rights reserved.
4 *****************************************************************************/
5 
6 #pragma once
7 
11 
17 
18 namespace makVrv
19 {
23  {
24  public:
26  DtRaindropParticle(float px, float py, float pMass, double time,
27  DtGridCell grid[][GRID_DIMENSION]);
28  private:
31 
34 
37  public:
38 
40  virtual ~DtRaindropParticle();
41 
43  virtual void update(double time, double elapsedTime,
44  DtGridCell grid[][GRID_DIMENSION],
45  bool& destroyFlag);
46 
48  virtual void merge(double time,
49  DtGridCell grid[][GRID_DIMENSION]);
50 
52  virtual void computeVelocity(double time, int gridX, int gridY,
53  DtGridCell grid[][GRID_DIMENSION]);
54  };
55 }
Contains makVrv::DtDropParticle class.
A drop with a physical simulation of movement, merging, evaporation, etc.
Definition: DtRaindropParticle.h:22
virtual void update(double time, double elapsedTime, DtGridCell grid[][GRID_DIMENSION], bool &destroyFlag)
Update the particle.
Internal struct for one cell of our grid of glass properties.
Definition: DtGridCell.h:19
#define GRID_DIMENSION
Definition: DtWaterOnScreenDefines.h:56
Local class for a single drop particle on the screen.
Definition: DtDropParticle.h:29
Contains DLL export macros.
DtRaindropParticle & operator=(const DtRaindropParticle &)
prevent assignment
virtual ~DtRaindropParticle()
default DTOR.
Contains makVrv::DtGridCell struct.
virtual void computeVelocity(double time, int gridX, int gridY, DtGridCell grid[][GRID_DIMENSION])
Update the drop's direction and acceleration.
DtRaindropParticle()
private default constructor. not allowed.
virtual void merge(double time, DtGridCell grid[][GRID_DIMENSION])
Combine drops covered by this drop.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)