allow for discrete snapping of drawn shapes
This commit is contained in:
1 parent
bd397ae772
commit
ca0ddbb9e2
3 files changed
+21
-6
No files matched your search
@@ -75,7 +75,8 @@ Optional shared shape attributes:
|
||||
* `snap` - if `follow` is present, indicated on which axis the snapping to entity coordinates occurs, and which axis
|
||||
will be treated statically, i.e. the coordinate passed in a coord triple is the actual value in the world. Default
|
||||
value is `'xyz'`, meaning the shape will be drawn relatively to the entity in all three directions. Using `xz` for
|
||||
instance makes so that the shape follows the entity, but stays at the same, absolute Y coordinate.
|
||||
instance makes so that the shape follows the entity, but stays at the same, absolute Y coordinate. Preceeding an axis
|
||||
with `d`, like `dxdydz` would make so that entity position is treated discretely (rounded down).
|
||||
|
||||
Available shapes:
|
||||
* `'line'` - draws a straight line between two points.
|
||||
|
||||
Reference in new issue
Block a user