mirror of
https://github.com/nasa/trick.git
synced 2024-12-20 13:43:10 +00:00
5a7cd1839b
I created an ODE directory and moved the ODE sims into it. I moved the Ball++ models into SIM_Ball++_L1 and flattened the directory structure. refs #191
36 lines
659 B
C++
36 lines
659 B
C++
|
|
/*
|
|
PURPOSE:
|
|
(Create the ODE world)
|
|
LIBRARY DEPENDENCY:
|
|
((DrawStuff.cpp))
|
|
*/
|
|
|
|
#ifndef DRAWSTUFF_HH
|
|
#define DRAWSTUFF_HH
|
|
|
|
#include <vector>
|
|
#include <drawstuff/drawstuff.h>
|
|
#include "DrawStuffObject.hh"
|
|
|
|
class DrawStuff {
|
|
public:
|
|
dsFunctions fn; // ** draw stuff function pointer structure
|
|
|
|
int window_width ;
|
|
int window_height ;
|
|
|
|
DrawStuff() ;
|
|
static void start() ;
|
|
static void step(int) ;
|
|
static void command(int) ;
|
|
|
|
int draw() ;
|
|
int shutdown() ;
|
|
|
|
static void add_object(DrawStuffObject * dso) ;
|
|
static std::vector<DrawStuffObject *> objects ;
|
|
} ;
|
|
|
|
#endif
|