Hi - I’m very new here (downloaded Away3D 4.1.0 Alpha a couple of hours ago) - i’m working through tutorials to get going, and came across what looks to me like a possible bug.
The tutorial code i’m using is here -> http://www.flashmagazine.com/Tutorials/detail/away3d_4_basics_-_the_view_and_the_scene/
put simply, it creates a couple of simple shapes and revolves them. But when run i’m getting an exeption cause by WireframeMapGenerator.as .
specifically, looking at lines 77 to 80 of that as file :
do {
texSpaceUV[i] = uvs[i]*w; ++i;
texSpaceUV[i] = uvs[i]*h;
} while (++i < len);
this shows the variable i is incremented twice in the loop - however in the example i’m running, len is an odd number - so on the final pass the second texSpaceUV causes an exception “Error #1125: The index 2873 is out of range 2873.”
is the first ++i eroneous ?