News for hackers. Stuff that matters.
Re:CIDLib: C++ Development Environment by 781 on Saturday March 09, 2019 @07:57PM (#19349564)
Not Invented Here Syndrome, level: over 9000

Since he mentioned wanting some 3D/gaming stuff, I randomly checked out his vector3 class. It's not usable, due to the usage of float8. Games use float4. And since it's not templated...

As for matrix4 multiplication, a core operation, it's beyond bad: https://github.com/DeanRoddey/CIDLib/blob/master/Source/AllP...

Re:CIDLib: C++ Development Environment by DeanRoddey on Monday March 11, 2019 @04:55PM (#19362720)
That vector/matrix code is ancient and hasn't been used for a long time. There are obviously going to be some bits like that. I used to really be into fractals and ray tracing and those were just done to support that.

Since there is currently no 3D graphics in the system, there hasn't been any justification to really go back and make them better relative to a lot of other things that are more immediately needed.

Hopefully, if someone wanted to get involved and develop a graphics library they would start with those classes. Or just remove those altogether and make them part of such a new subsystem.