File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -1337,20 +1337,6 @@ def R3_func(point):
1337
1337
1338
1338
return self .apply_function (R3_func )
1339
1339
1340
- def wag (
1341
- self , direction : Vector3 = RIGHT , axis : Vector3 = DOWN , wag_factor : float = 1.0
1342
- ) -> Self :
1343
- for mob in self .family_members_with_points ():
1344
- alphas = np .dot (mob .points , np .transpose (axis ))
1345
- alphas -= min (alphas )
1346
- alphas /= max (alphas )
1347
- alphas = alphas ** wag_factor
1348
- mob .points += np .dot (
1349
- alphas .reshape ((len (alphas ), 1 )),
1350
- np .array (direction ).reshape ((1 , mob .dim )),
1351
- )
1352
- return self
1353
-
1354
1340
def reverse_points (self ) -> Self :
1355
1341
for mob in self .family_members_with_points ():
1356
1342
mob .apply_over_attr_arrays (lambda arr : np .array (list (reversed (arr ))))
You can’t perform that action at this time.
0 commit comments