File openglDERSimulationEnvironment.h

Functions

void keyHandler(unsigned char key, int x, int y)

Variables

static shared_ptr<world> opengl_world = nullptr
static shared_ptr<worldLogger> opengl_logger = nullptr
static bool opengl_is_logging = false
static int opengl_cmdline_per = 0
class openglDERSimulationEnvironment : public derSimulationEnvironment

Public Functions

openglDERSimulationEnvironment(const shared_ptr<world> &m_world, const simParams &sim_params, const shared_ptr<worldLogger> &logger, int argc, char **argv)
~openglDERSimulationEnvironment() override
virtual void runSimulation()

Setup function, called SEPARATELY. Start the simulation!

Public Static Attributes

static bool show_mat_frames = false
static double render_scale = 1.0

Protected Functions

void initGL()

Protected Attributes

int argc_main
char **argv_main

Protected Static Functions

static void derOpenGLDisplay()