Increase thickness of translate and rotate handles
This commit is contained in:
parent
fc24661a12
commit
bd3d60ccf1
2 changed files with 4 additions and 4 deletions
|
|
@ -35,8 +35,8 @@ const HIGHLIGHT_COLORS = {
|
||||||
|
|
||||||
export function createRotateGizmo(options: RotateGizmoOptions = {}): RotateGizmo {
|
export function createRotateGizmo(options: RotateGizmoOptions = {}): RotateGizmo {
|
||||||
const {
|
const {
|
||||||
tubeRadius = 0.02,
|
tubeRadius = 0.035,
|
||||||
highlightTubeRadius = 0.04,
|
highlightTubeRadius = 0.06,
|
||||||
segments = 64,
|
segments = 64,
|
||||||
screenSize = 150, // Target screen size for tube thickness
|
screenSize = 150, // Target screen size for tube thickness
|
||||||
} = options
|
} = options
|
||||||
|
|
|
||||||
|
|
@ -35,8 +35,8 @@ export function createTranslateGizmo(options: TranslateGizmoOptions = {}): Trans
|
||||||
const {
|
const {
|
||||||
arrowLength = 1.0, // Extension past bounding box
|
arrowLength = 1.0, // Extension past bounding box
|
||||||
arrowHeadLength = 0.2,
|
arrowHeadLength = 0.2,
|
||||||
arrowHeadRadius = 0.08,
|
arrowHeadRadius = 0.12,
|
||||||
shaftRadius = 0.025,
|
shaftRadius = 0.04,
|
||||||
screenSize = 150, // Target size in screen pixels
|
screenSize = 150, // Target size in screen pixels
|
||||||
} = options
|
} = options
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue