Open Lecrapouille opened 1 year ago
Renderer.cpp: void Renderer::draw(Car const& car, ... the following code
void Renderer::draw(Car const& car, ...
if (car.isEgo() && car.hasECU<AutoParkECU>()) { AutoParkECU const& ecu = car.getECU<AutoParkECU>(); if (ecu.hasTrajectory()) { ecu.trajectory().draw(target, states); } }
is not the best place to be called:
AutoParkECU
virtual void ECU::draw() = 0
Renderer.cpp:
void Renderer::draw(Car const& car, ...
the following codeis not the best place to be called:
AutoParkECU
) shall be known.virtual void ECU::draw() = 0
?