n1 = ((v2-v1).crossProduct(v3-v1)).normalise();
return me a vector where all the values are the same, bt they aren't in the original vector.
I normalized the vector myself and it works
Vector3 .normalise() bug?
-
bstone
- OGRE Expert User

- Posts: 1920
- Joined: Sun Feb 19, 2012 9:24 pm
- Location: Russia
- x 201
Re: Vector3 .normalise() bug?
normalise() updates the vector and returns vector's length before the normalization. You should use normalisedCopy() if you want a normalized copy instead.