[Papervision3D] Spatial distance between points... and optimizing Sqrt?
tim.knip at gmail.com
Mon Aug 27 12:48:44 PDT 2007
Yeah, with ByteArray.writeFloat we can get the 4 bytes as int.
Trouble is other way round (later in the function), there we need the
int to be interpreted as float :(
Maybe its possible to do some ByteArray hacking here too, but...
ByteArray access seems reasonably fast, but i beleive its a tat slower
then normal Array access.
Guess your proposed function would be better :)
More information about the Papervision3D