X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fvector.h;h=056e22d5e3f4c17fa00bc0879f24c35fb7f55f9f;hb=1a372e99786b50b48ed0158b4adcb276cf945a9e;hp=df1e758c23aafe93f53861edd550a4337de9e53a;hpb=dd73b028a74ef8b57569c3e76751481d2124e491;p=lsystem3d.git diff --git a/src/vector.h b/src/vector.h index df1e758..056e22d 100644 --- a/src/vector.h +++ b/src/vector.h @@ -1,6 +1,6 @@ // Copyright (C) 2006 Erik Dahlberg // -// This file is part of LSystem3d. +// This file is part of LSystem3D. // // LSystem3D is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -27,7 +27,7 @@ /** - * 3d vector + * 3D vector */ class Vector : public Coordinate { @@ -58,21 +58,21 @@ public: void normalize(); /** - * Get scalar product of the vectors + * Get scalar product of two vectors * @param vector arbitrary vector * @return the scalar product */ double getScalarProduct(Vector vector); /** - * Get cross product of the vectors + * Get cross product of two vectors * @param vector arbitrary vector * @return the cross product */ Vector getCrossProduct(Vector vector); /** - * Get angle between the vectors + * Get angle between two vectors * @param vector the second (normalized) vector * @return the angle, in degrees */