mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 15:48:21 +00:00
Add a reference to the author name's origin
Add TODO on vectors and rotations, too.
This commit is contained in:
parent
1b3c8a4d89
commit
06f8370886
2 changed files with 7 additions and 0 deletions
|
@ -1150,6 +1150,10 @@ class foldconst(object):
|
|||
return
|
||||
|
||||
if nt in ('*', '/'):
|
||||
# TODO: <0,0,0,1>*rot, rot*<0,0,0,1>, rot/<0,0,0,1> -> rot
|
||||
# <0,0,0,1>/<x,y,z,s> -> <-x,-y,-z, s>
|
||||
# <0,0,0>*vec -> 0 if SEF
|
||||
# <0,0,0>*rot -> <0,0,0> if SEF
|
||||
# Extract signs outside
|
||||
if child[0].nt == 'NEG' or child[1].nt == 'NEG':
|
||||
a, b = 0, 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue