]> git.lizzy.rs Git - irrlicht.git/blobdiff - include/line2d.h
Fix COSOperator::getSystemMemory
[irrlicht.git] / include / line2d.h
index ce34c419c544d5c6630820e4c2358129bd02c94b..e7e9d9733845d8ea6dfc5cfd82172b09d899feb8 100644 (file)
@@ -24,8 +24,6 @@ class line2d
                line2d(T xa, T ya, T xb, T yb) : start(xa, ya), end(xb, yb) {}\r
                //! Constructor for line between the two points given as vectors.\r
                line2d(const vector2d<T>& start, const vector2d<T>& end) : start(start), end(end) {}\r
-               //! Copy constructor.\r
-               line2d(const line2d<T>& other) : start(other.start), end(other.end) {}\r
 \r
                // operators\r
 \r
@@ -297,7 +295,8 @@ class line2d
                }\r
 \r
                //! Get the closest point on this line to a point\r
-               /** \param checkOnlySegments: Default (true) is to return a point on the line-segment (between begin and end) of the line.\r
+               /** \param point: Starting search at this point\r
+               \param checkOnlySegments: Default (true) is to return a point on the line-segment (between begin and end) of the line.\r
                When set to false the function will check for the first the closest point on the the line even when outside the segment. */\r
                vector2d<T> getClosestPoint(const vector2d<T>& point, bool checkOnlySegments=true) const\r
                {\r