tile_renderer.coord.Vector
- class tile_renderer.coord.Vector(x: 'T', y: 'T')
Bases:
GenericMethods
__init__(x, y)as_tuple()decode(obj)dot(-> int -> float)encode()perp()to_float()to_int()unit()Attributes
- dot(other: Vector[int]) int
- dot(other: Vector[int] | Vector[float]) float
- dot(other: Vector[float]) float
- x: T
- y: T