mirror of
https://github.com/Matysh/houseplan-card
synced 2026-10-06 06:38:57 +00:00
Прямые и винтовые лестницы получили отдельную модель, инструменты редактора, безопасную межэтажную навигацию, вычитание из чистой площади и плоское отображение в 2.5D. Issue: #663 User-Visible: yes
12 lines
452 B
TypeScript
12 lines
452 B
TypeScript
/**
|
|
* Dependency-free coordinate constants shared by low-level geometry modules.
|
|
* Keep this leaf free of model/render imports: modules such as stairs are
|
|
* consumed by space-geometry itself and must not form an ESM initialisation
|
|
* cycle through that higher-level facade.
|
|
*/
|
|
export const NORM_W = 1000;
|
|
export const CANVAS_LIMIT = 5000;
|
|
export const GRID_N = 240;
|
|
export const GRID_PITCH = NORM_W / GRID_N;
|
|
export const GRID_STEP_N = 1 / GRID_N;
|