Snap to ground and grid options

This commit is contained in:
dexyfex
2018-02-25 23:30:29 +11:00
Unverified
parent 26533807fe
commit a590df5035
7 changed files with 282 additions and 21 deletions
+2 -2
View File
@@ -263,8 +263,8 @@ namespace CodeWalker.World
public Vector3 DraggedAxisSideDir { get; set; }
public Vector3 DragStartPosition { get; set; }
public bool IsDragging { get; set; }
private bool WasDragging = false;
private Vector3 DragStartVec; //projected onto the plane/axis being dragged
public bool WasDragging = false;
public Vector3 DragStartVec; //projected onto the plane/axis being dragged
public float Size { get; set; } = 90.0f;