#include <ViscousDragOperator.h>
Inheritance diagram for ani::ViscousDragOperator< __EntityType >:
Public Methods | |
ViscousDragOperator () | |
ViscousDragOperator (float coef) | |
virtual | ~ViscousDragOperator () |
void | setDrag (const float &coeficient) |
virtual void | exec (DynamicSystem< __EntityType > &ps, float timeDelta) |
apply this force function to the particle. More... |
specify a drag coeficient, will reduce the speed of a particle by (k * Vel)
Definition at line 17 of file ViscousDragOperator.h.
|
Definition at line 20 of file ViscousDragOperator.h. |
|
Definition at line 21 of file ViscousDragOperator.h. |
|
Definition at line 22 of file ViscousDragOperator.h. |
|
Definition at line 23 of file ViscousDragOperator.h. |
|
apply this force function to the particle.
Reimplemented from ani::GlobalForceOperator< __EntityType >. Definition at line 37 of file ViscousDragOperator.h. References ani::DynamicSystem< __EntityType >::entities(), ani::GlobalOperator< __EntityType >::EntityTypePtr, and ani::GlobalOperator< __EntityType >::isIgnored(). |