summaryrefslogtreecommitdiff
path: root/common/project.h
diff options
context:
space:
mode:
authorleo2006-03-05 21:29:09 +0000
committerleo2006-03-05 21:29:09 +0000
commit42b9415a06df453487411ff5e8d76bce5e4a27bf (patch)
tree84c88c25f7065f239412bf691e7a460fa76d5ae9 /common/project.h
parent470add04a935f43c6a4bc06794b9ed8de00eed02 (diff)
Removed redundant redraws when moving with the mouse,
fixed the disc start in the rotation angle overlay. git-svn-id: http://svn.leocad.org/trunk@512 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'common/project.h')
-rw-r--r--common/project.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/project.h b/common/project.h
index 76a5d76..f4bb61c 100644
--- a/common/project.h
+++ b/common/project.h
@@ -172,8 +172,9 @@ protected:
void GetActiveViewportMatrices(Matrix44& ModelView, Matrix44& Projection, int Viewport[4]);
void CalculateStep();
- void MoveSelectedObjects(Vector3& Move, Vector3& Remainder);
- void RotateSelectedObjects(const Vector3& Delta);
+ // Movement.
+ bool MoveSelectedObjects(Vector3& Move, Vector3& Remainder);
+ bool RotateSelectedObjects(Vector3& Delta, Vector3& Remainder);
void SnapVector(Vector3& Delta) const
{
Vector3 Dummy;