This is just a little coordinate system orientated triangle code.
I think its rather poor and outdated but i thought lua newbies could may study it. May when I get my math skills to the max ive create one where you can shift the degree size of all three corners.