Vector default constructor

Minor issues with the Ogre API that can be trivial to fix
al2950
OGRE Expert User
OGRE Expert User
Posts: 1227
Joined: Thu Dec 11, 2008 7:56 pm
Location: Bristol, UK
x 157

Vector default constructor

Post by al2950 »

The vector(2,3&4) constructors dont initialise x/y/z/w. I think they should default them to 0, like the quaternion default constructor.
User avatar
syedhs
Silver Sponsor
Silver Sponsor
Posts: 2703
Joined: Mon Aug 29, 2005 3:24 pm
Location: Kuala Lumpur, Malaysia
x 51

Re: Vector default constructor

Post by syedhs »

It has been discussed here
A willow deeply scarred, somebody's broken heart
And a washed-out dream
They follow the pattern of the wind, ya' see
Cause they got no place to be
That's why I'm starting with me
al2950
OGRE Expert User
OGRE Expert User
Posts: 1227
Joined: Thu Dec 11, 2008 7:56 pm
Location: Bristol, UK
x 157

Re: Vector default constructor

Post by al2950 »

Ah ok. Thank you for pointing that out