Toxi Vec3D vs PVector

What is the difference between these two? Doesn't PVector support z coordinates?

Thanks

Tagged:

Answers

  • edited March 2014

    Dunno how much they differ. However, PVector got exactly 3 float fields -> x, y, z.

  • edited March 2014

    If you are not prepared to do the research yourself, I doubt that you are ready to use toxicilibs so you can safely ignore it.

  • edited March 2014

    They are similar, both Vec3D and PVector are 3D vectors (got x, y and z fields). Vec3D is toxiclib's standard vector implementation, PVector is Processing's standard vector implementation. Both classes offer functions for all basic vector math operations.

  • Processing and every 3D library have it's own implementation of a 3D point/vertex/vector. See this discussion on GitHub: https://github.com/processing/processing/issues/1779. Your question is a bit strange though, because you can just look at the reference for both and see what they are (capable of).

Sign In or Register to comment.