opensurgsim
Namespaces
AddRandomSphereBehavior.cpp File Reference

A Behavior that creates randomly positioned SphereElements at a fixed rate. More...

#include <string>
#include <sstream>
#include <stdlib.h>
#include "Examples/DroppingBalls/AddRandomSphereBehavior.h"
#include "SurgSim/Framework/Behavior.h"
#include "SurgSim/Framework/Scene.h"
#include "SurgSim/Framework/SceneElement.h"
#include "SurgSim/Blocks/SphereElement.h"
#include "SurgSim/Math/Vector.h"

Namespaces

 SurgSim
 Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui needs glew but we need to call glewInit() from a osg callback, using this call we avoid getting warnings about redefinitions.
 

Detailed Description

A Behavior that creates randomly positioned SphereElements at a fixed rate.

See also
SurgSim::Blocks::SphereElement