Render lines with trap_rust for better intepolation algorithms

This commit is contained in:
Ruben van de Ven 2025-04-11 21:28:37 +02:00
parent 3de2346ee9
commit 35b8e77d07

View file

@ -248,7 +248,7 @@ class DrawnScenario(TrackScenario):
lines.append(RenderableLine(points))
if len(self.drawn_predictions):
color = SrgbaColor(0.,0.5,0.,1.-self.lost_factor())
color = SrgbaColor(0.,0.6,0.,1.-self.lost_factor())
# positions = [RenderablePosition.from_list(pos) for pos in self.drawn_positions]
points = [RenderablePoint(pos, color) for pos in self.drawn_predictions[0]]
lines.append(RenderableLine(points))