diff options
| author | luz.paz <luzpaz@users.noreply.github.com> | 2018-09-16 22:45:42 +0000 |
|---|---|---|
| committer | luz.paz <luzpaz@users.noreply.github.com> | 2018-09-16 22:45:42 +0000 |
| commit | 1a29e885b6e40720382f2b4d78f0a77635102cea (patch) | |
| tree | 1f9807b6d8849ec055f18b6a862f08927ae17b77 /src/proj_pt.h | |
| parent | Missing semicolon (diff) | |
| download | inkscape-1a29e885b6e40720382f2b4d78f0a77635102cea.tar.gz inkscape-1a29e885b6e40720382f2b4d78f0a77635102cea.zip | |
Misc. typo and whitespace fixes
Follow-up to #289
Diffstat (limited to 'src/proj_pt.h')
| -rw-r--r-- | src/proj_pt.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/proj_pt.h b/src/proj_pt.h index 1ee4b7f14..dc2283813 100644 --- a/src/proj_pt.h +++ b/src/proj_pt.h @@ -48,7 +48,7 @@ public: } /*** For convenience, we define addition/subtraction etc. as "affine" operators (i.e., - the result for finite points is the same as if the affine points were addes ***/ + the result for finite points is the same as if the affine points were added ***/ inline Pt2 &operator+(Pt2 &rhs) const { Pt2 *result = new Pt2 (*this); result->normalize(); @@ -105,7 +105,7 @@ public: } /*** For convenience, we define addition/subtraction etc. as "affine" operators (i.e., - the result for finite points is the same as if the affine points were addes ***/ + the result for finite points is the same as if the affine points were added ***/ inline Pt3 &operator+(Pt3 &rhs) const { Pt3 *result = new Pt3 (*this); result->normalize(); @@ -134,7 +134,7 @@ public: } return *result; } - + inline double operator[] (unsigned int index) const { if (index > 3) { return Geom::infinity(); } return pt[index]; |
