emartinez-dev / miniRT

This project is an introduction to the beautiful world of Raytracing. Once completed you will be able to render simple Computer-Generated-Images and you will never be afraid of implementing mathematical formulas again.
The Unlicense
2 stars 0 forks source link

bug: segfault when light appears as lowercase on scene #24

Closed emartinez-dev closed 11 months ago

emartinez-dev commented 11 months ago

The following map segfaulted the program

A 0.3 255,255,255
l 0,4,-5 0.9 255,255,255
C 0,0,10 0,0,-1 70

sp 0,2,-3 0.5 0,0,255
sp 0,-2,-4 2 255,0,0