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 » 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().
0 x

athile
Gnoblar
Posts: 5
Joined: Wed Jul 07, 2010 6:58 pm

Re: Vector3::angleBetween could be const

Post by athile » Tue Aug 31, 2010 12:34 pm

Bumping this post since I noticed the same.
0 x

Post Reply