feat: draw track borders
This commit is contained in:
@@ -41,9 +41,9 @@ class Track:
|
||||
|
||||
|
||||
class RoadPoint:
|
||||
def __init__(self, pos: Vec, direction: Vec, width: float) -> None:
|
||||
def __init__(self, pos: Vec, normal: Vec, width: float) -> None:
|
||||
self.pos: Vec = pos
|
||||
self.direction: Vec = direction
|
||||
self.normal: Vec = normal.normalized
|
||||
self.width: float = width
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user