mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Specify that uniforms can be numpy arrays
This commit is contained in:
parent
ccf7a503c1
commit
fc86bf7f9e
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ class Mobject(object):
|
||||||
}
|
}
|
||||||
|
|
||||||
def init_uniforms(self):
|
def init_uniforms(self):
|
||||||
self.uniforms: dict[str, float] = {
|
self.uniforms: dict[str, float | np.ndarray] = {
|
||||||
"is_fixed_in_frame": float(self.is_fixed_in_frame),
|
"is_fixed_in_frame": float(self.is_fixed_in_frame),
|
||||||
"gloss": self.gloss,
|
"gloss": self.gloss,
|
||||||
"shadow": self.shadow,
|
"shadow": self.shadow,
|
||||||
|
|
Loading…
Add table
Reference in a new issue