Commit Graph

949 Commits

Author SHA1 Message Date
fa173ba300 Add rotation draft state and whitebox snap settings 2026-04-04 19:30:35 +02:00
7a92b5ca93 Update brush label and selection description 2026-04-04 19:30:35 +02:00
6728a9db2f Add vector snapping functions in App.tsx 2026-04-04 19:30:13 +02:00
6bb996592d Add utility functions for handling optional numbers and input steps in App.tsx 2026-04-04 19:30:07 +02:00
1060bb11dd Import and use rotate box brush command in App 2026-04-04 19:30:02 +02:00
6aacb11496 Add whitebox snap properties to ViewportPanel 2026-04-04 19:30:02 +02:00
8b048fb09c Add whitebox snap settings to ViewportCanvas 2026-04-04 19:29:45 +02:00
930297a415 Remove unused import in viewport-host.ts 2026-04-04 19:29:45 +02:00
6ab4ae0b02 Replace snapValueToGrid with snapWhiteboxPositionValue in ViewportHost 2026-04-04 19:29:33 +02:00
5d3d9c394d Remove redundant position setting and add transform application in ViewportHost 2026-04-04 19:29:33 +02:00
0bfa3613d5 Update applyBrushRenderObjectTransform to include rotation and size parameters 2026-04-04 19:29:10 +02:00
7bb75973d9 Add support for scaling brush targets in viewport-host.ts 2026-04-04 19:28:58 +02:00
376bb60e1b Update brush rotation calculation in viewport-host.ts 2026-04-04 19:28:51 +02:00
ff938c5e93 Update position snapping logic in ViewportHost 2026-04-04 19:28:46 +02:00
1232128c84 Add methods for snapping whitebox position and size values 2026-04-04 19:28:38 +02:00
73923baf5d Implement setWhiteboxSnapSettings method in ViewportHost 2026-04-04 19:28:33 +02:00
0fd274d8ab Add whitebox snap settings to ViewportHost 2026-04-04 19:28:33 +02:00
f69882764e Refactor brush focus target calculation 2026-04-04 19:27:29 +02:00
89b30a507a Refactor brush collider creation in rapier-collision-world.ts 2026-04-04 19:27:23 +02:00
991e414ae4 Add rotation support for brush meshes and colliders 2026-04-04 19:27:16 +02:00
b79ec90293 Support rotation and scaling in commit transform session command 2026-04-04 19:27:06 +02:00
b4f0c61a1e Add rotate box brush command 2026-04-04 19:27:06 +02:00
f64eaa7350 Add snapToGrid and label options to resize box brush command 2026-04-04 19:27:06 +02:00
c19dae0df6 Add snapToGrid option to create and move box brush commands 2026-04-04 19:26:26 +02:00
cc9b200bae Add rotation and size properties to transform target and preview 2026-04-04 19:26:18 +02:00
805fb9100f Add rotationDegrees to BoxBrush and update scene document version 2026-04-04 19:26:03 +02:00
1da2eb3b1f Update scene document version and enhance box brush calculations 2026-04-04 19:25:53 +02:00
efbbd814a3 Add rotationDegrees to BoxBrush and update createBoxBrush function 2026-04-04 19:25:42 +02:00
c2ac4b04f6 Update createWireframeDisplayMaterial to handle different material types 2026-04-04 19:07:59 +02:00
7f5671051c Ensure edges visibility based on display mode 2026-04-04 19:07:59 +02:00
fdc582a494 Update material handling to dispose of originals in model rendering and viewport host 2026-04-04 19:07:07 +02:00
6eef0142e2 Update preview group creation to handle wireframe display mode 2026-04-04 19:06:56 +02:00
4c4fde5aae Add wireframe render mode for model instances and viewport display 2026-04-04 19:06:32 +02:00
efad6ab92a Extend local draft storage to include 'wireframe' display mode 2026-04-04 19:06:06 +02:00
1f8a112f0e Modify ViewportCanvas to handle non-normal display modes 2026-04-04 19:06:06 +02:00
f30da7bc8a Update ViewportPanel to support 'wireframe' display mode 2026-04-04 19:06:06 +02:00
1e347c004e Add 'wireframe' display mode to viewport layout 2026-04-04 19:06:06 +02:00
8210067daa Update collider mode validation and scene document version 2026-04-04 16:01:39 +02:00
d7f580dfb5 Convert onBlur handlers to arrow functions in App.tsx 2026-04-04 16:01:27 +02:00
9fd09ae7ce Add player collider configuration options in App.tsx 2026-04-04 15:57:08 +02:00
c752c7fa6d Enhance applyPlayerStartChange to accept collider mode overrides 2026-04-04 15:56:34 +02:00
41917c30f7 Initialize and update player start collider properties in App.tsx 2026-04-04 15:56:30 +02:00
6e4daccced Add player start collider mode and dimensions to App.tsx 2026-04-04 15:56:30 +02:00
ac905d24fb Add function to describe player start collider mode 2026-04-04 15:56:13 +02:00
9a22b462d4 Import new player start constants and types 2026-04-04 15:56:13 +02:00
a2805c16fe Update eye height to use default constant 2026-04-04 15:56:13 +02:00
acf9a457c6 Update player start render objects with additional parameters 2026-04-04 15:55:18 +02:00
869432d989 Update createPlayerStartRenderObjects to handle different colliders and improve visuals 2026-04-04 15:55:14 +02:00
484eaf8db9 Add CapsuleGeometry and update default player start collider settings 2026-04-04 15:55:14 +02:00
9007681e0b Add support for different player collider shapes and modes 2026-04-04 15:54:25 +02:00