Small cleanup in camera.py

This commit is contained in:
Grant Sanderson
2022-12-27 14:53:55 -08:00
parent 934a73ddb8
commit 33a92d3ab3
2 changed files with 13 additions and 18 deletions

View File

@ -26,7 +26,7 @@ if TYPE_CHECKING:
class ShaderWrapper(object):
def __init__(
self,
vert_data: np.ndarray | None = None,
vert_data: np.ndarray,
vert_indices: np.ndarray | None = None,
shader_folder: str | None = None,
uniforms: dict[str, float] | None = None, # A dictionary mapping names of uniform variables