From 06f8370886ad2efc889afac960db78c701b2e8d4 Mon Sep 17 00:00:00 2001 From: Sei Lisa Date: Thu, 10 Jan 2019 21:52:54 +0100 Subject: [PATCH] Add a reference to the author name's origin Add TODO on vectors and rotations, too. --- lslopt/lslfoldconst.py | 4 ++++ main.py | 3 +++ 2 files changed, 7 insertions(+) diff --git a/lslopt/lslfoldconst.py b/lslopt/lslfoldconst.py index b77405a..2a9514d 100644 --- a/lslopt/lslfoldconst.py +++ b/lslopt/lslfoldconst.py @@ -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> + # <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 diff --git a/main.py b/main.py index 2be6217..b003fa1 100755 --- a/main.py +++ b/main.py @@ -19,6 +19,9 @@ # # If you choose to use a later version of the GPL, please modify the text # in the Usage() function appropriately to indicate the correct version. +# +# Sei Lisa is the author's username in the Second Life(R) virtual world. +# Second Life is a registered trademark of Linden Research, Inc. # This is the main executable program that imports the libraries.