17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-04 14:55:52 +01:00

Sieć trakcyjna: przęsła wg typów sieci, wysięgniki z katalogu, bramki, kotwienia i edytor sieci

Sam kod exe z gałęzi siec-trakcyjna (bez testów, notatek i danych z tests/catenary).
Dane (data/traction_*.txt) leżą poza repozytorium.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019Tqn7T8D1Gx3ptKtZgNtX5
This commit is contained in:
Claude
2026-10-23 23:15:00 +02:00
parent b4b1e6c32f
commit f30fefd91c
45 changed files with 12595 additions and 24 deletions

View File

@@ -10,6 +10,7 @@ http://mozilla.org/MPL/2.0/.
#pragma once
#include <string>
#include <memory>
#include "scene/scenenode.h"
#include "world/Segment.h"
@@ -17,6 +18,7 @@ http://mozilla.org/MPL/2.0/.
#include "utilities/Names.h"
class TTractionPowerSource;
struct catenary_span;
class TTraction : public scene::basic_node
{
@@ -54,6 +56,8 @@ class TTraction : public scene::basic_node
// visualization data
glm::dvec3 m_origin;
gfx::geometry_handle m_geometry;
// stan przęsła rysowanego wg typu sieci (dopisek "type"); pusty = przęsło rysowane po staremu. szczegóły w world/catenary_span.h
std::shared_ptr<catenary_span> m_catenaryspan;
explicit TTraction( scene::node_data const &Nodedata );