The Persistence of Vision Raytracer (POV-Ray).
This is the legacy Bug Tracking System for the POV-Ray project. Bugs listed here are being migrated to our github issue tracker. Please refer to that for new reports or updates to existing ones on this system.
Attached to Project: POV-Ray
Opened by Mike H - 2010-06-09
Last edited by Thorsten Fröhlich - 2010-10-26
Opened by Mike H - 2010-06-09
Last edited by Thorsten Fröhlich - 2010-10-26
FS#128 - Mixed-type arrays
Currently, arrays may contain only one object type. Would be nice to eliminate this restriction and allow arrays to contain objects of different types.
Closed by Thorsten Fröhlich
Tuesday, 26 October 2010, 04:46 GMT
Reason for closing: Won't implement
Additional comments about closing:
Tuesday, 26 October 2010, 04:46 GMT
Reason for closing: Won't implement
Additional comments about closing:
Requested functionality already
available.
If an array contains more than one type, how would you know the type of each cell ?
Mixed-type arrays look like a bad programming practice, or a kludge.
Could you provide an example which demonstrate the interest of having a mixed-type array ?
(one of my basic rule from kindergarten: do not mix apples & oranges)
Mostly the problem has occurred with multi-dimensional arrays as a way of storing input parameters to be used later, IIRC.
Seems solved from comments in FS#127
Those comments just recommend multi-dimensional arrays... which just happens to be what I provided in the example above. So, no, I don't think anything was "solved".
- solved.