18 lines
261 B
Python
18 lines
261 B
Python
class Vector4d:
|
|
def __init__(self, x, y, z, w):
|
|
self.x = x
|
|
self.y = y
|
|
self.z = z
|
|
self.w = w
|
|
|
|
class Vector3d:
|
|
def __init__(self, x, y, z):
|
|
self.x = x
|
|
self.y = y
|
|
self.z = z
|
|
|
|
class Vector2d:
|
|
def __init__(self, x, y):
|
|
self.x = x
|
|
self.y = y
|