You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently if you invoke equals() on a BoundingBox or BoundingSphere you get Object.equals(), which ignores the object's components. Usually that isn't what's desired.
By analogy with com.jme3.math classes such as Matrix4f, Quaternion, and Vector3f, these 2 classes should:
override the equals() method to test for precise equality of all components (distinguishing -0 from 0) AND
provide an isSimilar() method to test for approximate equality of all components.
The text was updated successfully, but these errors were encountered:
Currently if you invoke
equals()
on aBoundingBox
orBoundingSphere
you getObject.equals()
, which ignores the object's components. Usually that isn't what's desired.By analogy with com.jme3.math classes such as
Matrix4f
,Quaternion
, andVector3f
, these 2 classes should:equals()
method to test for precise equality of all components (distinguishing -0 from 0) ANDisSimilar()
method to test for approximate equality of all components.The text was updated successfully, but these errors were encountered: