Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1009861 // untranslatePt

JavaX fragment (include)

1  
static Pt untranslatePt(Pt a, Pt b) {
2  
  if (a == null) ret b;
3  
  ret new Pt(b.x-a.x, b.y-a.y);
4  
}

Author comment

Began life as a copy of #1009860

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1009861
Snippet name: untranslatePt
Eternal ID of this version: #1009861/1
Text MD5: a6495f2294237be08dbb59c4a503bc19
Author: stefan
Category: javax / maths
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-22 00:55:10
Source code size: 98 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 443 / 463
Referenced in: [show references]