Alright, thanks for the advice. I am gonna try use std::vector.at() unless I notice a performance hit being to large. As of now at ~50,000 triangles it still seems to be doing alright.
Type: Posts; User: the4bidn
Alright, thanks for the advice. I am gonna try use std::vector.at() unless I notice a performance hit being to large. As of now at ~50,000 triangles it still seems to be doing alright.
Ok do I have a huge misunderstanding on the std::vector class is it slow to read from?
I was under the impression in C# it worked similar to linked lists.
I wrote a small project using vectors...
All of the objects proceeded by s are structs and to the best of my knowledge the only way to null them is memset?
Also the loop was 8 in the code, I missed that before posting here.
I will...
Hello,
My code pasted below is receiving random segmentation faults. I am not sure I took the right approach for a dynamic sized buffer of Triangle objects(3 Vector3f(3 floats)). Any idea's...