template project, first version
This commit is contained in:
38
Simulations/TemplateSimulator.h
Normal file
38
Simulations/TemplateSimulator.h
Normal file
@@ -0,0 +1,38 @@
|
||||
#ifndef TEMPLATESIMULATOR_h
|
||||
#define TEMPLATESIMULATOR_h
|
||||
|
||||
#include "Simulator.h"
|
||||
|
||||
class TemplateSimulator:public Simulator{
|
||||
public:
|
||||
// Construtors
|
||||
TemplateSimulator();
|
||||
|
||||
// Functions
|
||||
const char * getTestCasesStr();
|
||||
void initUI(DrawingUtilitiesClass * DUC);
|
||||
void reset();
|
||||
void drawFrame(ID3D11DeviceContext* pd3dImmediateContext);
|
||||
void notifyCaseChanged(int testCase);
|
||||
void externalForcesCalculations(float timeElapsed);
|
||||
void simulateTimestep(float timeStep);
|
||||
void onClick(int x, int y);
|
||||
void onMouse(int x, int y);
|
||||
// Specific Functions
|
||||
void drawSomeRandomObjects();
|
||||
void drawMovableTeapot();
|
||||
void drawTriangle();
|
||||
|
||||
private:
|
||||
// Attributes
|
||||
Vec3 m_vfMovableObjectPos;
|
||||
Vec3 m_vfMovableObjectFinalPos;
|
||||
Vec3 m_vfRotate;
|
||||
int m_iNumSpheres;
|
||||
float m_fSphereSize;
|
||||
Point2D m_mouse;
|
||||
Point2D m_trackmouse;
|
||||
Point2D m_oldtrackmouse;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user