1 | static Pt translatePt(Pt a, Pt b) { |
2 | ret addPts(a, b); |
3 | } |
4 | |
5 | static Pt translatePt(int x, int y, Pt a) { |
6 | ret addPts(a, pt(x, y)); |
7 | } |
8 | |
9 | static Pt translatePt(Pt a, int x, int y) { |
10 | ret translatePt(x, y, a); |
11 | } |
Began life as a copy of #1006794
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1009860 |
Snippet name: | translatePt - synonym of addPts - add two points |
Eternal ID of this version: | #1009860/3 |
Text MD5: | 0fdcaaf6a711098be6122250a9e5d24f |
Author: | stefan |
Category: | javax / maths |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-17 00:43:13 |
Source code size: | 216 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 594 / 627 |
Version history: | 2 change(s) |
Referenced in: | [show references] |