Does this function only work in the x/y plane? It appears to…
The reason I am interested is that a built in C++ function that quickly gives the signed (right handed) angle would be of tremendous use; using angleDeg and having to both normalize and then add the sign back in is perfectly possible, but I’m guessing would be slower.
Kind of a dumb question, but where can I find the C++ code for these functions? I’d love to be able to look up the workings of these functions myself (so that I won’t be bugging you guys so much). I’ve been looking a bit and can’t find them. I’m currently working on a windows machine.
In this case it’s in an inline header file and can be found in C:\Panda3D-1.5.4\include\lvector3_src.I.
If it’s not, grab the source version, and it will be in panda3d\panda\src\linmath\lvector3_src.I.
I don’t know if this particular thing is really a bug. You’d have to ask David for that.