diff options
Diffstat (limited to 'basegfx/source/vector/b3dvector.cxx')
-rw-r--r-- | basegfx/source/vector/b3dvector.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basegfx/source/vector/b3dvector.cxx b/basegfx/source/vector/b3dvector.cxx index 67a7ef1d2215..4ced9d2ec941 100644 --- a/basegfx/source/vector/b3dvector.cxx +++ b/basegfx/source/vector/b3dvector.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -66,7 +66,7 @@ namespace basegfx aNew.normalize(); return aNew; } - + B3DVector B3DVector::getProjectionOnPlane(const B3DVector& rNormalizedPlane) const { B3DVector aNew(*this); @@ -74,8 +74,8 @@ namespace basegfx aNew = cross(aNew, rNormalizedPlane); aNew.mfX = mfX - aNew.mfX; - aNew.mfY = mfY - aNew.mfY; - aNew.mfZ = mfZ - aNew.mfZ; + aNew.mfY = mfY - aNew.mfY; + aNew.mfZ = mfZ - aNew.mfZ; return aNew; } |