diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/dist/doc/examples/introduction/Point.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/dist/doc/examples/introduction/Point.java b/docs/dist/doc/examples/introduction/Point.java index 609a0488c..4de01359b 100644 --- a/docs/dist/doc/examples/introduction/Point.java +++ b/docs/dist/doc/examples/introduction/Point.java @@ -74,9 +74,9 @@ public class Point { protected void makeRectangular(){ if (!rectangular) { - x = rho * Math.sin(theta); - y = rho * Math.cos(theta); - rectangular = true; + y = rho * Math.sin(theta); + x = rho * Math.cos(theta); + rectangular = true; } } |