1340 Commits

Author SHA1 Message Date
3555936c4d Check for valid inputs to arccos 2023-01-13 21:42:54 -08:00
dae51abc17 Allow for a clip plane with Surface 2023-01-13 21:42:34 -08:00
12c3af9647 Update to get_subpath_end_indices_from_points 2023-01-13 20:35:54 -08:00
071e7f1a74 Small tweak for get_joint_angles 2023-01-13 20:33:36 -08:00
e832bb775f Fix small bug with null triangles 2023-01-13 16:53:22 -08:00
91f976f7e9 Don't include bounding box in Mobject.data
In principle, Mobject.data should just carry information that will pass to shaders
2023-01-13 14:58:52 -08:00
cbfe82579f Make sure VMobject.reverse_points works with new path convention 2023-01-13 14:16:04 -08:00
ae99c8cd2e Go back to use_simple_quadratic_approx being set at the Text level 2023-01-13 14:08:29 -08:00
da2b13aee9 Fix triangulation issue for Annulus 2023-01-13 13:22:26 -08:00
a88b56bb04 Be sure get_triangulation is called before orientation data is read in 2023-01-13 13:22:06 -08:00
c820cb4775 Don't propagate animating status to full extended family 2023-01-13 13:06:50 -08:00
42d612f253 Clean up VMobject.get_joint_angles 2023-01-13 09:57:22 -08:00
440138aac5 Allow for tracking which data keys should always have the same size as points 2023-01-13 09:47:06 -08:00
108bb3da44 Have SVGs default to use_simple_quadratic_approx 2023-01-13 08:16:46 -08:00
e1abae1d96 Fix typo 2023-01-13 00:24:26 -08:00
c8a77a352f Fix Piano 2023-01-13 00:24:19 -08:00
c9a2971433 Remove stray constant 2023-01-12 23:58:49 -08:00
a12b5cca67 Add angle check in addition to use_simple_quadratic_approx 2023-01-12 23:58:43 -08:00
aa8fba5b02 Change subdivide_intersections default to one subdivision, remove second check 2023-01-12 23:58:19 -08:00
2c6e8692ce Add condition for calling subdivide_intersections 2023-01-12 23:45:26 -08:00
a44fc2e6d5 Add optional number of subdivision to subdivide_intersections 2023-01-12 23:45:03 -08:00
190b9e4603 Tiny tweak 2023-01-12 21:24:34 -08:00
f39fd92e9e Add condition to account for end of string 2023-01-12 21:24:27 -08:00
f0edc6628b Push default of use_simple_quadratic_approx being True to Text 2023-01-12 21:24:03 -08:00
9f1ab09749 Make usage of simpler quadratic approximations an option for VMobject 2023-01-12 21:06:35 -08:00
a2f3758a7a Add VMobject.subdivide_intersections 2023-01-12 21:05:19 -08:00
a47b95044d Add assertions to assure VMobject has a valid number of points 2023-01-12 19:31:08 -08:00
db8b0e7bce Change simple quadratic approximation threshold 2023-01-12 19:24:56 -08:00
9778c3e085 Remove no-longer necessary correction for path ends 2023-01-12 18:29:44 -08:00
644ea41443 Default to simpler quadratic approximation of cubic beziers 2023-01-12 18:29:19 -08:00
9464f83d18 Track indices for fill shader, but prevent ibo usage at the Camera level 2023-01-12 15:56:44 -08:00
a07701e295 Use triangle strip for stroke shader 2023-01-12 15:56:12 -08:00
64578df603 Don't save SVG Path data to file
It's more trouble than it's worth
2023-01-12 13:23:48 -08:00
9320dad45f Have get_subpath_end_indices_from_points ask for exact equality between h and a0 2023-01-12 11:54:25 -08:00
ab30f085b4 Simpler VMobject.get_num_curves 2023-01-12 10:40:18 -08:00
7d90a82317 Fix fill shader vert data 2023-01-12 10:13:42 -08:00
a8fb05a44a Don't use index buffer for fill
It turns out to be strangely slower
2023-01-12 00:23:22 -08:00
c0b3c246de Revert "Revert "Go back to fill shader tracing vertex index manually""
This reverts commit 387de61119ea13b63d68c8e56a776717b99f2a8c.
2023-01-12 00:16:05 -08:00
ae42f6244e Don't use an index buffer for stroke 2023-01-12 00:14:07 -08:00
1f04ba92fb Fix Polygon.round_corners 2023-01-11 20:47:04 -08:00
ed26fdfab8 Have Polyline default to flat stroke 2023-01-11 20:31:38 -08:00
bf84b1933b Remove unnecessary flat stroke specification 2023-01-11 20:31:30 -08:00
f04d0ad350 Update add_cubic_bezier_curve 2023-01-11 20:27:37 -08:00
8c435d6181 Default to flat stroke for polygons 2023-01-11 20:27:17 -08:00
31715ec98a Fix Arrow 2023-01-11 20:09:28 -08:00
a17a57825e Fix Annulus and sector 2023-01-11 20:01:54 -08:00
61437b2a7f Remove (no longer used) n_points_per_curve 2023-01-11 19:53:00 -08:00
333db992ed Minor cleanup to Prism 2023-01-11 19:52:45 -08:00
8a08b62f7c Remove n_points_per_curve reference 2023-01-11 19:52:33 -08:00
5d7e923ac6 Remove stray imports 2023-01-11 19:40:21 -08:00