Vector3::angleBetween could be const
Posted: Fri Apr 02, 2010 7:41 am
Hi,
This is minor but the Vector3 class is heavily used.
I think the Vector3::angleBetween() method could be const. It does not modify attributes and only calls const methods: length() and dotProduct().
This is minor but the Vector3 class is heavily used.
I think the Vector3::angleBetween() method could be const. It does not modify attributes and only calls const methods: length() and dotProduct().