/*************************************************************************** File: PBMProjectileLaunchParams.h Created: 02/06/2002 Author: Maxim Garber Computer Science Department University of North Carolina - Chapel Hill garber@cs.unc.edu Description: Structure to hold the launch parameters for a projectile. ----------------------------------------------------------------------------. Copyright 2001 Maxim Garber UNC Motion Planning Research Group *****************************************************************************/ #include "ODESolver.h" struct PBMProjectileLaunchParams { float position[3]; // launch position float azimuth; // launch azimuth, from the +x axis, on the xz plane, float elevation; // launch elevation, from the xz plane float powderMass; // mass of powder in the cannon float projectileMass; // mass of projectile // physical constants float gravity[3]; // vector for gravitation force float friction; // value of the friction force // ODE solver to use ODESolver* integrator; };