2015-02-26 15:02:31 +00:00
|
|
|
/************************TRICK HEADER*************************
|
|
|
|
PURPOSE:
|
2022-12-02 20:55:40 +00:00
|
|
|
(S_define file for SIM_cannon_analytic)
|
2015-02-26 15:02:31 +00:00
|
|
|
LIBRARY DEPENDENCIES:
|
|
|
|
(
|
|
|
|
(cannon/gravity/src/cannon_init.c)
|
|
|
|
(cannon/gravity/src/cannon_analytic.c)
|
|
|
|
)
|
|
|
|
*************************************************************/
|
|
|
|
|
|
|
|
#include "sim_objects/default_trick_sys.sm"
|
2016-11-01 23:16:26 +00:00
|
|
|
##include "cannon/gravity/include/cannon_analytic.h"
|
2015-02-26 15:02:31 +00:00
|
|
|
|
|
|
|
class CannonSimObject : public Trick::SimObject {
|
|
|
|
|
|
|
|
public:
|
|
|
|
CANNON cannon;
|
|
|
|
|
|
|
|
CannonSimObject() {
|
|
|
|
("default_data") cannon_default_data( &cannon ) ;
|
|
|
|
("initialization") cannon_init( &cannon ) ;
|
|
|
|
(0.01, "scheduled") cannon_analytic( &cannon ) ;
|
|
|
|
}
|
|
|
|
} ;
|
|
|
|
|
|
|
|
CannonSimObject dyn ;
|