My own mistake
There’s no bug. Your code is just wrong. You never change your variables so thorX will never be equals to lightX.
Trust the machine, not the human.
I must be blind. You are right. Thanks for your help.
My own mistake
There’s no bug. Your code is just wrong. You never change your variables so thorX will never be equals to lightX.
Trust the machine, not the human.
I must be blind. You are right. Thanks for your help.