mirror of
https://github.com/pim-n/pg-rad
synced 2026-03-11 19:58:11 +01:00
add default value for object position (0,0,0)
This commit is contained in:
@ -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'):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user