mirror of
https://github.com/3b1b/manim.git
synced 2025-11-14 06:07:44 +00:00
Update type hint for ShaderWrapper.uniforms
This commit is contained in:
parent
bdcfbc39ec
commit
3a09acd28c
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ class ShaderWrapper(object):
|
|||
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
|
||||
uniforms: dict[str, float | np.ndarray] | None = None, # A dictionary mapping names of uniform variables
|
||||
texture_paths: dict[str, str] | None = None, # A dictionary mapping names to filepaths for textures.
|
||||
depth_test: bool = False,
|
||||
use_clip_plane: bool = False,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue