I currently have a string of floats that I need to convert into an array of floats, how would I do this?
I need to convert this:
string Vertices = "0.3 0.5 0.7 0.2 0.4 0.6";
To this:
float Vertices[6] = {0.3, 0.5, 0.7, 0.2, 0.4, 0.6};
Last edited on
Thank you, that worked perfectly!