Log In  


version: 0.1e
Os: Windows 10

How to reproduce:

  • run following code
a=vec(1,2,3)
b=vec(1,2,3)
print(0.5*(a+b))
  • picotron crashes to deskop with:

Exception thrown at 0x004A231E in picotron.exe: 0xC0000005: Access violation reading location 0x00000000.

Workaround #1:

a=vec(1,2,3)
b=vec(1,2,3)
print((a+b):mul(0.5))

Workaround #2:

a=vec(1,2,3)
b=vec(1,2,3)
print((a+b) * 0.5)
1



[Please log in to post a comment]