Skip to content

Commit

Permalink
Added clarifiation comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-Vin committed Nov 4, 2024
1 parent 2a8b24f commit 77c9605
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/scenic/simulators/newtonian/simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ def setup(self):

# Calculate a screen translation that brings the mean vehicle
# position to the center of the screen.

# N.B. screenTranslation is initialized to (0, 0) here intentionally.
# so that the actual screenTranslation can be set later based off what
# was computed with this null value.
self.screenTranslation = (0, 0)

scaled_positions = map(
Expand Down

0 comments on commit 77c9605

Please sign in to comment.