Render lines with trap_rust for better intepolation algorithms
This commit is contained in:
parent
3de2346ee9
commit
35b8e77d07
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ class DrawnScenario(TrackScenario):
|
||||||
lines.append(RenderableLine(points))
|
lines.append(RenderableLine(points))
|
||||||
|
|
||||||
if len(self.drawn_predictions):
|
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]
|
# positions = [RenderablePosition.from_list(pos) for pos in self.drawn_positions]
|
||||||
points = [RenderablePoint(pos, color) for pos in self.drawn_predictions[0]]
|
points = [RenderablePoint(pos, color) for pos in self.drawn_predictions[0]]
|
||||||
lines.append(RenderableLine(points))
|
lines.append(RenderableLine(points))
|
||||||
|
|
Loading…
Reference in a new issue