Added dragger tool, removed useless stuff

This commit is contained in:
FlareMicrosystems
2022-10-15 16:43:06 -07:00
parent efbc832321
commit 575f5dab46
23 changed files with 45 additions and 3322 deletions

View File

@@ -27,7 +27,6 @@ public:
void suppressSky(bool doSuppress);
void update();
void drawEffects();
void drawOutlines(Vector3 from, Vector3 to, RenderDevice* rd, Vector3 size, Vector3 pos, CoordinateFrame c);
// Properties
void PropUpdate(LPPROPGRIDITEM &pItem);

View File

@@ -15,6 +15,7 @@ public:
void removeSelected(Instance * instance);
void addSelected(const std::vector<Instance *> &instances);
void setPropertyWindow(PropertyWindow * propertyWindow);
void render(RenderDevice * rd);
private:
std::vector<Instance *> selection;
PropertyWindow * propertyWindow;

View File

@@ -27,8 +27,10 @@ public:
bool isMouseOnScreen();
bool isMouseDown();
void setMouseDown(bool mouseDown);
G3D::Ray * getRay();
G3D::Ray getRay();
G3D::Ray getLastRay();
G3D::Plane getPlane();
G3D::Plane getInversePlane();
private:
bool mouseDown;
};

View File

@@ -26,6 +26,7 @@ public:
virtual void onMouseScroll(Mouse);//Kinda
virtual void onKeyDown(int);//yes
virtual void onKeyUp(int);//yes
virtual void render(RenderDevice * rd, Mouse mouse);//yes
//virtual int getCursorId();//yes
protected:
//virtual void setCursor(std::string);