add default value for object position (0,0,0)

This commit is contained in:
Pim Nelissen
2026-02-12 16:48:16 +01:00
parent abc1195c91
commit 82331f3bbd

View File

@ -6,7 +6,7 @@ import numpy as np
class BaseObject: class BaseObject:
def __init__( def __init__(
self, self,
pos: tuple[float, float, float], pos: tuple[float, float, float] = (0, 0, 0),
name: str = "Unnamed object", name: str = "Unnamed object",
color: str = 'grey'): color: str = 'grey'):
""" """