30 Commits

Author SHA1 Message Date
Leonardo Zide a8e37df8ce Whitespace cleanup. 2026-03-10 21:11:40 -07:00
Leonardo Zide f12794e9e0 Fixed ui scale on retina displays. 2026-03-07 16:11:38 -08:00
Leonardo Zide 069ed47ee9 Fixed text scale on retina displays. 2026-02-14 16:51:49 -08:00
Leonardo Zide 4e49d4d0cc Fixed warnings. 2025-12-18 16:18:45 -03:00
Leonardo Zide 3ff6f06f04 Fixed warnings. 2025-11-20 22:57:18 -08:00
Leonardo Zide 35f9c8e8e5 Removed float* operator from math classes. 2025-05-18 11:10:32 -07:00
Leonardo Zide 6a26e60f55 Made vector to float cast explicit, and fixed unintended casts. 2025-05-17 20:23:33 -07:00
Leonardo Zide 354b24f4e0 Use mesh ray casting for all parts of the train track gizmo. 2025-05-01 17:02:54 -07:00
Leonardo Zide bab8b3adab Moved the train track connection mesh to the static buffer. 2025-05-01 16:26:09 -07:00
Leonardo Zide e86208caab Draw train track connection boxes in the manipulator to match the scaling with the other gizmos. 2025-05-01 12:26:34 -07:00
Leonardo Zide f2a2e446bb Don't show the train track insert gizmo for focused connections. 2025-01-14 16:52:37 -08:00
Leonardo Zide abcef7a536 Show train track insert gizmo on all open connections of the focused piece. 2024-12-20 17:18:33 -08:00
Leonardo Zide b9dc71d60e Replaced train track gizmo with a popup list. 2024-12-18 16:41:03 -08:00
Leonardo Zide 4f2782b407 Added rotate train track gizmo. 2024-12-17 19:20:38 -08:00
Leonardo Zide 5e0df56351 Added helper functions to encode/decode mTrackToolSection. 2024-12-17 12:37:00 -08:00
Leonardo Zide 24b7c43a09 Fixed train track gizmo drawing when a rotated connection has focus. 2024-12-09 10:42:31 -08:00
Leonardo Zide 17078dd447 Update connections before using the view manipulator. 2024-11-30 12:36:30 -08:00
Leonardo Zide fd61c1c9f9 Added gizmo to rotate train tracks. 2024-11-30 12:29:15 -08:00
Leonardo Zide 41097f8489 Only draw track connections when focused. 2024-11-29 18:45:27 -08:00
Leonardo Zide a08ad3f81b Detect train track connections and pick an open one when inserting. 2024-11-27 13:04:53 -08:00
Leonardo Zide ed29dad76a Added train track gizmo. 2024-11-02 19:34:22 -07:00
Leonardo Zide e061eca2e8 Reorganized spot light parameters. 2023-09-09 18:25:34 -07:00
Leonardo Zide 86327196c2 Support rotating lights. 2023-09-04 10:59:16 -07:00
Trevor SANDY 8cfadc804d Made light type/shape immutable. 2023-08-13 15:50:00 +02:00
Trevor SANDY 3b9ea3ae79 Blender lights - view and control 2023-08-11 05:39:36 +02:00
Leonardo Zide c10804d31b Simplified manipulator rotation math. 2021-12-11 15:52:38 -08:00
Leonardo Zide 94a5a5dc52 Moved blend to context. 2021-11-22 16:18:09 -08:00
Leonardo Zide 89c0b58592 Moved depth test to context. 2021-11-22 16:01:45 -08:00
Johannes Sixt ba2cc70de8 Implement a piece's focused section as a simple index, not a bit mask.
It does not make sense to have a "focus" on more than one thing. Keep the
most recently focused section of a piece as a single index rather than a
bit mask. This removes a lot of implementation burden.
2021-10-31 15:51:58 +01:00
Leonardo Zide c236ea02bb Moved view manipulator to a separate class. 2021-06-20 11:40:16 -07:00