16 #ifndef EXAMPLES_DROPPINGBALLS_ADDRANDOMSPHEREBEHAVIOR_H 17 #define EXAMPLES_DROPPINGBALLS_ADDRANDOMSPHEREBEHAVIOR_H 21 #include "SurgSim/Framework/Behavior.h" 43 void update(
double dt)
override;
57 std::default_random_engine m_generator;
59 std::uniform_real_distribution<double> m_distribution_xz;
61 std::uniform_real_distribution<double> m_distribution_y;
68 #endif //EXAMPLES_DROPPINGBALLS_ADDRANDOMSPHEREBEHAVIOR_H Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
bool doInitialize() override
Initialize the behavior.
Definition: AddRandomSphereBehavior.cpp:53
bool doWakeUp() override
Wakeup the behavior.
Definition: AddRandomSphereBehavior.cpp:58
AddRandomSphereBehavior(const std::string &name="AddRandomSphereBehavior")
Constructor.
Definition: AddRandomSphereBehavior.cpp:42
~AddRandomSphereBehavior()
Destructor.
Definition: AddRandomSphereBehavior.cpp:49
A behavior to add sphere elements into scene dynamically.
Definition: AddRandomSphereBehavior.h:31
Behaviors perform actions.
Definition: Behavior.h:40
void update(double dt) override
Update the behavior.
Definition: AddRandomSphereBehavior.cpp:63