Vector3::angleBetween could be const

What it says on the tin: a place to discuss proposed new features.
Post Reply
moris
Gnoblar
Posts: 1
Joined: Tue Jun 09, 2009 2:51 pm

Vector3::angleBetween could be const

Post by moris »

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().
athile
Gnoblar
Posts: 5
Joined: Wed Jul 07, 2010 6:58 pm

Re: Vector3::angleBetween could be const

Post by athile »

Bumping this post since I noticed the same.
Post Reply