Commit graph

2774 commits

Author SHA1 Message Date
Grant Sanderson
015a7487e7 Remove stray import 2023-01-31 14:20:40 -08:00
Grant Sanderson
468fdf9003 Add Self type to value_tracker.py 2023-01-31 14:19:58 -08:00
Grant Sanderson
031adda503 Small fixes to three_dimensions.py 2023-01-31 14:19:24 -08:00
Grant Sanderson
0452012d54 Add Self type to shape_matchers.py 2023-01-31 14:18:02 -08:00
Grant Sanderson
576d8c996b Add Self type to numbers.py 2023-01-31 14:16:15 -08:00
Grant Sanderson
74a11bb05c Add Self type to matrix.py 2023-01-31 14:13:47 -08:00
Grant Sanderson
6a42ef846a Add Self type to geometry.py 2023-01-31 14:12:41 -08:00
Grant Sanderson
da6875ca55 Add Self type to coordinate_systems.py 2023-01-31 14:08:22 -08:00
Grant Sanderson
d8c21ff7aa Add Self type to changing.py 2023-01-31 14:08:12 -08:00
Grant Sanderson
af585ca3a1 Add Self type to dot_cloud.py and point_cloud_mobject.py 2023-01-31 13:49:48 -08:00
Grant Sanderson
3779577d9f Add Self type to surface.py 2023-01-31 13:47:25 -08:00
Grant Sanderson
b58224f6c8 Add Self type to vectorized_mobject.py 2023-01-31 13:43:54 -08:00
Grant Sanderson
50343e9629 Add Self type to mobject.py 2023-01-31 13:31:48 -08:00
Grant Sanderson
a4d9b101de Whoops, make sure deepcopy actually returns 2023-01-31 12:53:25 -08:00
Grant Sanderson
60aae748a7 Make sure animations will trigger a refresh for joint products 2023-01-31 12:49:02 -08:00
Grant Sanderson
92e4d43ca3 Make sure camera location is not computed more times than it needs to be 2023-01-31 12:29:49 -08:00
Grant Sanderson
424db4b3e4 Ensure view matrix is not computed more than it needs to be 2023-01-31 12:20:25 -08:00
Grant Sanderson
2d0bdfbdb6 Merge branch 'glitch-fix' into video-work 2023-01-31 11:59:54 -08:00
Grant Sanderson
9e5fca6750 Merge branch 'type-error-fix' into video-work 2023-01-31 11:58:09 -08:00
Grant Sanderson
2cbad30f45 Change VMobject rendering mode to TRIANGLES
And set indices appropriately when reading in to the ShaderWrapper
2023-01-31 11:45:53 -08:00
Grant Sanderson
5952f9ea74 Make sure rgbas will be resized if bigger than Mobject.data 2023-01-31 09:48:23 -08:00
Grant Sanderson
f2d71e6521 Don't rotate Laptop into place 2023-01-31 09:20:05 -08:00
Grant Sanderson
57deab6617 Fix ControlsExample 2023-01-31 09:08:38 -08:00
Grant Sanderson
f8cfcfbc64 Fix EventListener typo 2023-01-31 09:08:24 -08:00
Grant Sanderson
76ee97adfa Possible fix for a type error 2023-01-31 08:48:57 -08:00
Grant Sanderson
e7734ca84c Fix TexturedSurface 2023-01-30 20:57:21 -08:00
Grant Sanderson
5ff44f5850 Divide by epsilon prior to normalizing 2023-01-30 20:51:04 -08:00
Grant Sanderson
a58327657c Provide an epsilon of room to Sphere at poles 2023-01-30 20:50:42 -08:00
Grant Sanderson
55da5d5d03 Remove use of dv_points and du_points, pass unit normals to shader instead 2023-01-30 20:49:32 -08:00
Grant Sanderson
c469c6b009 Prevent NumberPlane from double drawing axes 2023-01-30 20:38:23 -08:00
Grant Sanderson
9017df847d Add Camera.blit, and use it when there's a window, but the used fbo is not the window's 2023-01-30 20:38:13 -08:00
Grant Sanderson
33116f8af1 Remove stray import 2023-01-30 20:37:27 -08:00
Grant Sanderson
0de914fd01 No need for du_points, and dv_points in SurfaceMesh 2023-01-30 20:37:15 -08:00
Grant Sanderson
e950286fa4 Replace get_gl_Position -> emit_gl_Position 2023-01-30 18:43:28 -08:00
Grant Sanderson
215c21babf Small renaming 2023-01-30 15:24:10 -08:00
Grant Sanderson
7e00660e47 Whoops, re-instate pre_render 2023-01-30 15:16:08 -08:00
Grant Sanderson
daaaba0a67 Use frame_scale uniform instead of frame_shape 2023-01-30 15:10:41 -08:00
Grant Sanderson
9628adc957 Ensure scroll zooming works better in 3d 2023-01-30 15:03:05 -08:00
Grant Sanderson
af69cf9c7d Track field of view instead of focal_dist_to_height 2023-01-30 15:02:33 -08:00
Grant Sanderson
71bd3edb09 Fix frame scaling 2023-01-30 15:02:04 -08:00
Grant Sanderson
277c471c90 Refactor so that view matrix incorporates frame scaling 2023-01-30 14:15:39 -08:00
Grant Sanderson
b85c3bd478 Remove stray import 2023-01-30 11:57:09 -08:00
Grant Sanderson
285953b44d Add FRAME_SHAPE constant 2023-01-30 11:57:01 -08:00
Grant Sanderson
15d8ebb572 Add Mobject.set_shape 2023-01-30 11:53:15 -08:00
Grant Sanderson
abdcb64461 Fix panning for off-center frame 2023-01-28 23:05:52 -08:00
Grant Sanderson
e58aea9e2f Change to a default where scrolling zooms, and dragging pans 2023-01-28 22:59:54 -08:00
Grant Sanderson
2705ba3afa Fix CameraFrame.to_fixed_frame_point 2023-01-28 22:58:05 -08:00
Grant Sanderson
901d40ba11 Fix scroll zooming 2023-01-28 22:53:56 -08:00
Grant Sanderson
0d9bb71d3c Increase scroll sensitivity 2023-01-28 22:42:33 -08:00
Grant Sanderson
0fe5922253 Clean up scrolling 2023-01-28 22:40:57 -08:00