12using namespace Triton;
 
   43    Impact(
Ocean *pOcean, 
double pImpactorDiameter, 
double pMass, 
bool pSprayEffects = 
false, 
double pSprayScale = 2.0);
 
   73    double velocity, impactorDiameter;
 
   82    double positionVariation;
 
An object that generates impact wave and spray effects, ie from projectiles or explosions.
Common typedefs and defines used within Triton.
A 3D Vector class and its operations.
A RotorWash object will generate spray and circular waves on the ocean surface in the direction it is...
Definition: Impact.h:33
Vector3 TRITONAPI GetPosition() const
Retrieves the world position of the Impact.
Definition: Impact.h:59
double TRITONAPI GetVelocity() const
Retrieves the velocity of the Impact.
Definition: Impact.h:67
Impact(Ocean *pOcean, double pImpactorDiameter, double pMass, bool pSprayEffects=false, double pSprayScale=2.0)
Construct a Impact with the Triton::Ocean it will be associated with.
void TRITONAPI Trigger(const Vector3 &pPosition, const Vector3 &pDirection, double pVelocity, double pTime)
Starts the effect of an impact at a given position, direction, and velocity.
This base class for all Triton objects intercepts the new and delete operators, routing them through ...
Definition: MemAlloc.h:71
The Ocean class allows you to configure and draw Triton's water simulation.
Definition: Ocean.h:81
A 3D double-precision Vector class and its operations.
Definition: Vector3.h:36