Checking Vectors for Almost Equality

Can I easily check vectors for almost equality???

  • up

    Thibault Schwartz

    Hi Marcus,

    If what you want to test is the direction of the vectors, you can simply use the difference between 1 and the absolute value of the dot product of your two unitized vectors. If you want to compare the amplitude, it is a property of the Vector3D class.

    2